Author: grothoff
Date: 2005-06-26 02:59:28 -0700 (Sun, 26 Jun 2005)
New Revision: 1045
Modified:
GNUnet/src/util/port.c
Log:
comment
Modified: GNUnet/src/util/port.c
===================================================================
--- GNUnet/src/util/port.c 2005-06-26 09:51:45 UTC (rev 1044)
+++ GNUnet/src/util/port.c 2005-06-26 09:59:28 UTC (rev 1045)
@@ -32,16 +32,18 @@
unsigned short port;
const char *setting;
- if (testConfigurationString("GNUNETD", "_MAGIC_", "YES"))
- setting = "PORT";
- else
- setting = "CLIENT-PORT";
-
+ if (testConfigurationString("GNUNETD",
+ "_MAGIC_",
+ "YES"))
+ setting = "PORT";
+ else
+ setting = "CLIENT-PORT";
port = (unsigned short) getConfigurationInt("NETWORK",
setting);
- if (port == 0) { /* try lookup in services */
- errexit(_("Cannot determine port of gnunetd server. Define in
configuration file in section '%s' under '%s'.\n"),
+ if (port == 0) {
+ errexit(_("Cannot determine port of gnunetd server. "
+ "Define in configuration file in section '%s' under '%s'.\n"),
"NETWORK",
setting);
}
_______________________________________________
GNUnet-SVN mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnunet-svn