diff options
-rw-r--r-- | src/plugins/daemon/daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/daemon/daemon.c b/src/plugins/daemon/daemon.c index 886de80d..b6d0820a 100644 --- a/src/plugins/daemon/daemon.c +++ b/src/plugins/daemon/daemon.c | |||
@@ -157,7 +157,7 @@ doUpdateMenus (void *arg) | |||
157 | "gnunetdconfigFileChooserButton"); | 157 | "gnunetdconfigFileChooserButton"); |
158 | GNUNET_GC_get_configuration_value_string (cfg, "NETWORK", "HOST", | 158 | GNUNET_GC_get_configuration_value_string (cfg, "NETWORK", "HOST", |
159 | "localhost", &host); | 159 | "localhost", &host); |
160 | if (strncmp (host, "localhost:", 10) == 0) | 160 | if (strncmp (host, "localhost", 9) == 0) |
161 | isLocal = TRUE; | 161 | isLocal = TRUE; |
162 | else | 162 | else |
163 | isLocal = FALSE; | 163 | isLocal = FALSE; |