From: Christian Grothoff Date: Thu, 1 Nov 2012 16:58:00 +0000 (+0000) Subject: -doxygen X-Git-Tag: initial-import-from-subversion-38251~11093 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=13361222d8b8d47611d67c240ae2329cdc999a7e;p=oweals%2Fgnunet.git -doxygen --- diff --git a/src/gns/gns_api.c b/src/gns/gns_api.c index a1d734df2..1e3cb0169 100644 --- a/src/gns/gns_api.c +++ b/src/gns/gns_api.c @@ -312,7 +312,7 @@ reconnect_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) /** * Disconnect from service and then reconnect. * - * @param h our handle + * @param handle our handle */ static void force_reconnect (struct GNUNET_GNS_Handle *handle) diff --git a/src/mesh/gnunet-regex-profiler.c b/src/mesh/gnunet-regex-profiler.c index 0e7b7391a..536eacccf 100644 --- a/src/mesh/gnunet-regex-profiler.c +++ b/src/mesh/gnunet-regex-profiler.c @@ -1579,6 +1579,7 @@ status_cb (void *cls, const struct GNUNET_CONFIGURATION_Handle *config, int stat * @param filename filename of the file containing the search strings. * @param strings set of strings loaded from file. Caller needs to free this * if number returned is greater than zero. + * @param limit upper limit on the number of strings read from the file * @return number of strings found in the file. GNUNET_SYSERR on error. */ static int diff --git a/src/testbed/gnunet-service-testbed.c b/src/testbed/gnunet-service-testbed.c index d39bd82ad..ec3e000ee 100644 --- a/src/testbed/gnunet-service-testbed.c +++ b/src/testbed/gnunet-service-testbed.c @@ -2239,7 +2239,7 @@ peer_create_success_cb (void *cls, const struct GNUNET_MessageHeader *msg) /** * Function to destroy a peer * - * @param the peer structure to destroy + * @param peer the peer structure to destroy */ static void destroy_peer (struct Peer *peer) diff --git a/src/transport/plugin_transport_http_client.c b/src/transport/plugin_transport_http_client.c index 8eca99857..ad57e368a 100644 --- a/src/transport/plugin_transport_http_client.c +++ b/src/transport/plugin_transport_http_client.c @@ -344,9 +344,11 @@ client_stop_session_timeout (struct Session *s); static int client_schedule (struct HTTP_Client_Plugin *plugin, int now); + static int client_connect_put (struct Session *s); + /** * Does a session s exists? * @@ -370,21 +372,24 @@ client_exist_session (struct HTTP_Client_Plugin *plugin, struct Session *s) return GNUNET_NO; } + /** * Loggging function * * @param curl the curl easy handle * @param type message type - * @param data data as a not \0-terminated string + * @param data data to log, NOT a 0-terminated string * @param size data length * @param cls the closure * @return always 0 */ static int -client_log (CURL *curl, curl_infotype type, char *data, size_t size, void *cls) +client_log (CURL *curl, curl_infotype type, + const char *data, size_t size, void *cls) { struct ConnectionHandle *ch = cls; - char *ttype = "UNSPECIFIED"; + const char *ttype = "UNSPECIFIED"; + if ((type == CURLINFO_TEXT) || (type == CURLINFO_HEADER_IN) || (type == CURLINFO_HEADER_OUT)) { char text[size + 2];