|
From: Alain P. <apa...@us...> - 2002-06-03 15:31:25
|
The following file was modified in apps/bluetooth/experimental:
Name Old version New version Tag Comment
---- ----------- ----------- --- -------
bt_if.c 1.47 1.48=20=20=20=20=20=20=20=20=20=20=20=20=20=20
The accompanying log:
Juste correct an error making that with a custom name, the hostname was
added at the end.
The diff of the modified file(s):
--- bt_if.c 3 Jun 2002 10:07:28 -0000 1.47
+++ bt_if.c 3 Jun 2002 15:31:22 -0000 1.48
@@ -1360,6 +1360,8 @@
}
}
=20
+ if (add_host)
+ {
gethostname(&buf[len], HOST_NAME_LENGTH);
=20
if (!strchr(&buf[len], '.'))
@@ -1372,7 +1374,7 @@
strncat(buf, domain_name, DOMAIN_NAME_LENGTH);
}
}
-
+ }
if (len && add_host)
{
strcat(buf, ")");
|