[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r3299 - GNUnet/src/transports
From: |
grothoff |
Subject: |
[GNUnet-SVN] r3299 - GNUnet/src/transports |
Date: |
Thu, 24 Aug 2006 18:02:22 -0700 (PDT) |
Author: grothoff
Date: 2006-08-24 18:02:17 -0700 (Thu, 24 Aug 2006)
New Revision: 3299
Modified:
GNUnet/src/transports/http.c
GNUnet/src/transports/smtp.c
GNUnet/src/transports/tcp.c
GNUnet/src/transports/tcp6.c
GNUnet/src/transports/udp.c
GNUnet/src/transports/udp6.c
Log:
call ing convention fix
Modified: GNUnet/src/transports/http.c
===================================================================
--- GNUnet/src/transports/http.c 2006-08-25 00:16:08 UTC (rev 3298)
+++ GNUnet/src/transports/http.c 2006-08-25 01:02:17 UTC (rev 3299)
@@ -1390,7 +1390,7 @@
* Reload the configuration. Should never fail (keep old
* configuration on error, syslog errors!)
*/
-static void reloadConfiguration() {
+static int reloadConfiguration() {
char * ch;
MUTEX_LOCK(&httplock);
@@ -1404,6 +1404,7 @@
FREE(ch);
}
MUTEX_UNLOCK(&httplock);
+ return 0;
}
/**
Modified: GNUnet/src/transports/smtp.c
===================================================================
--- GNUnet/src/transports/smtp.c 2006-08-25 00:16:08 UTC (rev 3298)
+++ GNUnet/src/transports/smtp.c 2006-08-25 01:02:17 UTC (rev 3299)
@@ -889,7 +889,8 @@
/**
* Reload the configuration. Should never fail.
*/
-static void reloadConfiguration(void) {
+static int reloadConfiguration() {
+ return 0;
}
/**
Modified: GNUnet/src/transports/tcp.c
===================================================================
--- GNUnet/src/transports/tcp.c 2006-08-25 00:16:08 UTC (rev 3298)
+++ GNUnet/src/transports/tcp.c 2006-08-25 01:02:17 UTC (rev 3299)
@@ -343,7 +343,7 @@
char * ch;
if (0 != strcmp(section, "TCP"))
- return OK; /* fast path */
+ return 0; /* fast path */
MUTEX_LOCK(tcplock);
FREENONNULL(filteredNetworks_);
@@ -361,7 +361,7 @@
}
MUTEX_UNLOCK(tcplock);
/* TODO: error handling! */
- return OK;
+ return 0;
}
/**
Modified: GNUnet/src/transports/tcp6.c
===================================================================
--- GNUnet/src/transports/tcp6.c 2006-08-25 00:16:08 UTC (rev 3298)
+++ GNUnet/src/transports/tcp6.c 2006-08-25 01:02:17 UTC (rev 3299)
@@ -356,7 +356,7 @@
char * ch;
if (0 != strcmp(section, "TCP6"))
- return OK; /* fast path */
+ return 0; /* fast path */
MUTEX_LOCK(tcplock);
FREENONNULL(filteredNetworks_);
if (0 != GC_get_configuration_value_string(cfg,
@@ -372,7 +372,7 @@
FREE(ch);
}
MUTEX_UNLOCK(tcplock);
- return OK;
+ return 0;
}
/**
Modified: GNUnet/src/transports/udp.c
===================================================================
--- GNUnet/src/transports/udp.c 2006-08-25 00:16:08 UTC (rev 3298)
+++ GNUnet/src/transports/udp.c 2006-08-25 01:02:17 UTC (rev 3299)
@@ -365,7 +365,7 @@
/**
* Reload the configuration. Should never fail.
*/
-static void reloadConfiguration() {
+static int reloadConfiguration() {
char * ch;
MUTEX_LOCK(configLock);
@@ -383,6 +383,7 @@
FREE(ch);
}
MUTEX_UNLOCK(configLock);
+ return 0;
}
/**
Modified: GNUnet/src/transports/udp6.c
===================================================================
--- GNUnet/src/transports/udp6.c 2006-08-25 00:16:08 UTC (rev 3298)
+++ GNUnet/src/transports/udp6.c 2006-08-25 01:02:17 UTC (rev 3299)
@@ -363,7 +363,7 @@
/**
* Reload the configuration. Should never fail.
*/
-static void reloadConfiguration(void) {
+static int reloadConfiguration(void) {
char * ch;
MUTEX_LOCK(configLock);
@@ -381,6 +381,7 @@
FREE(ch);
}
MUTEX_UNLOCK(configLock);
+ return 0;
}
/**
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r3299 - GNUnet/src/transports,
grothoff <=