diff options
author | Christian Grothoff <christian@grothoff.org> | 2008-07-10 06:50:14 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2008-07-10 06:50:14 +0000 |
commit | c556d23b1eafd1ad1d583981892ebd7ca637f23c (patch) | |
tree | 8cc77611625bf95993c0e6768128ca55d8f3e41f | |
parent | dd6e8466171dacf740505cc59836e4093bb20945 (diff) | |
download | gnunet-gtk-c556d23b1eafd1ad1d583981892ebd7ca637f23c.tar.gz gnunet-gtk-c556d23b1eafd1ad1d583981892ebd7ca637f23c.zip |
do not require colon
-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; |