gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r38113 - libmicrohttpd/src/microhttpd


From: gnunet
Subject: [GNUnet-SVN] r38113 - libmicrohttpd/src/microhttpd
Date: Tue, 11 Oct 2016 17:21:07 +0200

Author: Karlson2k
Date: 2016-10-11 17:21:07 +0200 (Tue, 11 Oct 2016)
New Revision: 38113

Modified:
   libmicrohttpd/src/microhttpd/daemon.c
   libmicrohttpd/src/microhttpd/mhd_itc.h
Log:
Renamed 'MHD_pipe_last_strerror_' -> 'MHD_itc_last_strerror_'

Modified: libmicrohttpd/src/microhttpd/daemon.c
===================================================================
--- libmicrohttpd/src/microhttpd/daemon.c       2016-10-11 15:21:04 UTC (rev 
38112)
+++ libmicrohttpd/src/microhttpd/daemon.c       2016-10-11 15:21:07 UTC (rev 
38113)
@@ -4467,7 +4467,7 @@
 #ifdef HAVE_MESSAGES
       MHD_DLOG (daemon,
                _("Failed to create control pipe: %s\n"),
-               MHD_pipe_last_strerror_ ());
+               MHD_itc_last_strerror_ ());
 #endif
       free (daemon);
       return NULL;
@@ -4477,7 +4477,7 @@
 #ifdef HAVE_MESSAGES
         MHD_DLOG (daemon,
                  _("Failed to make read side of inter-thread control channel 
non-blocking: %s\n"),
-                 MHD_pipe_last_strerror_ ());
+                 MHD_itc_last_strerror_ ());
 #endif
         MHD_pipe_close_ (daemon->itc);
         free (daemon);
@@ -4989,7 +4989,7 @@
 #ifdef HAVE_MESSAGES
                   MHD_DLOG (daemon,
                             _("Failed to create worker control pipe: %s\n"),
-                            MHD_pipe_last_strerror_() );
+                            MHD_itc_last_strerror_() );
 #endif
                   goto thread_failed;
                 }
@@ -4998,7 +4998,7 @@
 #ifdef HAVE_MESSAGES
                   MHD_DLOG (daemon,
                             _("Failed to make read side of worker inter-thread 
control channel non-blocking: %s\n"),
-                            MHD_pipe_last_strerror_ ());
+                            MHD_itc_last_strerror_ ());
 #endif
                   goto thread_failed;
                 }

Modified: libmicrohttpd/src/microhttpd/mhd_itc.h
===================================================================
--- libmicrohttpd/src/microhttpd/mhd_itc.h      2016-10-11 15:21:04 UTC (rev 
38112)
+++ libmicrohttpd/src/microhttpd/mhd_itc.h      2016-10-11 15:21:07 UTC (rev 
38113)
@@ -61,10 +61,10 @@
  */
 #define MHD_itc_init_(itc) (-1 != ((itc) = eventfd (0, EFD_CLOEXEC | 
EFD_NONBLOCK)))
 
-/***
- * Get description string of last errno for pipe operations.
+/**
+ * Get description string of last errno for itc operations.
  */
-#define MHD_pipe_last_strerror_() strerror(errno)
+#define MHD_itc_last_strerror_() strerror(errno)
 
 /**
  * write data to real pipe
@@ -142,10 +142,10 @@
  */
 #define MHD_itc_init_(itc) (!pipe((itc).fd))
 
-/***
- * Get description string of last errno for pipe operations.
+/**
+ * Get description string of last errno for itc operations.
  */
-#define MHD_pipe_last_strerror_() strerror(errno)
+#define MHD_itc_last_strerror_() strerror(errno)
 
 /**
  * write data to real pipe
@@ -222,9 +222,9 @@
 #define MHD_itc_init_(itc) MHD_socket_pair_((itc).sk)
 
 /**
- * Get description string of last pipe error
+ * Get description string of last error for itc operations.
  */
-#define MHD_pipe_last_strerror_() MHD_socket_last_strerr_()
+#define MHD_itc_last_strerror_() MHD_socket_last_strerr_()
 
 /**
  * Write data to emulated pipe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]