From: Christian Grothoff Date: Wed, 25 Jul 2012 15:02:26 +0000 (+0000) Subject: -dox X-Git-Tag: initial-import-from-subversion-38251~12334 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=883f76092343cb682016415142245b83c912f816;p=oweals%2Fgnunet.git -dox --- diff --git a/src/hostlist/hostlist-client.c b/src/hostlist/hostlist-client.c index 4914573e3..e85c3cae7 100644 --- a/src/hostlist/hostlist-client.c +++ b/src/hostlist/hostlist-client.c @@ -470,7 +470,7 @@ download_get_url () } -#define CURL_EASY_SETOPT(c, a, b) do { ret = curl_easy_setopt(c, a, b); if (ret != CURLE_OK) GNUNET_log(GNUNET_ERROR_TYPE_WARNING, _("%s failed at %s:%d: `%s'\n"), "curl_easy_setopt", __FILE__, __LINE__, curl_easy_strerror(ret)); } while (0) +#define CURL_EASY_SETOPT(c, a, b) do { ret = curl_easy_setopt (c, a, b); if (CURLE_OK != ret) GNUNET_log(GNUNET_ERROR_TYPE_WARNING, _("%s failed at %s:%d: `%s'\n"), "curl_easy_setopt", __FILE__, __LINE__, curl_easy_strerror (ret)); } while (0) /** diff --git a/src/include/gnunet_disk_lib.h b/src/include/gnunet_disk_lib.h index 9e25cd95a..c0a68bb67 100644 --- a/src/include/gnunet_disk_lib.h +++ b/src/include/gnunet_disk_lib.h @@ -679,7 +679,7 @@ GNUNET_DISK_directory_test (const char *fil); * Remove all files in a directory (rm -rf). Call with * caution. * - * @param fileName the file to remove + * @param filename the file to remove * @return GNUNET_OK on success, GNUNET_SYSERR on error */ int diff --git a/src/vpn/gnunet-service-vpn.c b/src/vpn/gnunet-service-vpn.c index 677b272ea..b8801e5d4 100644 --- a/src/vpn/gnunet-service-vpn.c +++ b/src/vpn/gnunet-service-vpn.c @@ -3024,7 +3024,7 @@ test_af (int af) "socket"); return GNUNET_SYSERR; } - close (s); + (void) close (s); return GNUNET_OK; }