Diff between f1f6a1ae88274b95435598a0ca0c9392b7a57637 and 2f83ab18a4e197e0a7ddb70bfb3c79862c66acf7
Changed Files
| File | Additions | Deletions | Status |
| src/main.c | +0 | -4 | modified |
Full Patch
diff --git a/src/main.c b/src/main.c
index d2ed56c..a42a4af 100644
--- a/src/main.c
+++ b/src/main.c
@@ -277,10 +277,6 @@ static void init_defaults(void)
main_opts.reverse_sdp = TRUE;
main_opts.name_resolv = TRUE;
main_opts.debug_keys = FALSE;
-
- if (gethostname(main_opts.host_name,
- sizeof(main_opts.host_name) - 1) < 0)
- strcpy(main_opts.host_name, "noname");
}
static GMainLoop *event_loop;