-dox
authorChristian Grothoff <christian@grothoff.org>
Wed, 25 Jul 2012 15:02:26 +0000 (15:02 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 25 Jul 2012 15:02:26 +0000 (15:02 +0000)
src/hostlist/hostlist-client.c
src/include/gnunet_disk_lib.h
src/vpn/gnunet-service-vpn.c

index 4914573e38ad14c71e997b63241e5231439ee2e9..e85c3cae7a4dca6fdaa3877002b36b70740287e7 100644 (file)
@@ -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)
 
 
 /**
index 9e25cd95a5e765e387a404cdd7d6dc80b483fdac..c0a68bb67c5760e9439a87341dc6cabf9a46d5a1 100644 (file)
@@ -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
index 677b272eafbf6174c365f6ed34f42b32185ec7ff..b8801e5d4fbf139f973eed9ec81c8421d22b7be5 100644 (file)
@@ -3024,7 +3024,7 @@ test_af (int af)
                         "socket");
     return GNUNET_SYSERR;
   }
-  close (s);
+  (void) close (s);
   return GNUNET_OK;
 }