[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r1045 - GNUnet/src/util
From: |
grothoff |
Subject: |
[GNUnet-SVN] r1045 - GNUnet/src/util |
Date: |
Sun, 26 Jun 2005 02:59:30 -0700 (PDT) |
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);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r1045 - GNUnet/src/util,
grothoff <=