]> git.pld-linux.org Git - packages/libmicrohttpd.git/blob - libmicrohttpd-messages.patch
- updated to 0.9.28
[packages/libmicrohttpd.git] / libmicrohttpd-messages.patch
1 --- libmicrohttpd-0.9.28/src/microhttpd/daemon.c.orig   2013-07-19 17:32:13.000000000 +0200
2 +++ libmicrohttpd-0.9.28/src/microhttpd/daemon.c        2013-07-19 20:31:23.474232117 +0200
3 @@ -612,9 +612,11 @@
4           break;
5         }
6      }
7 +#if HAVE_MESSAGES
8  #if DEBUG_CONNECT
9    MHD_DLOG (daemon, "Maximum socket in select set: %d\n", *max_fd);
10  #endif
11 +#endif
12    return MHD_YES;
13  }
14  
15 @@ -3112,9 +3114,11 @@
16           int sk_flags = fcntl (socket_fd, F_GETFL);
17           if (0 != fcntl (socket_fd, F_SETFL, sk_flags | O_NONBLOCK))
18             {
19 +#if HAVE_MESSAGES
20               MHD_DLOG (daemon,
21                         "Failed to make listen socket non-blocking: %s\n", 
22                         STRERROR (errno));
23 +#endif
24               if (0 != CLOSE (socket_fd))
25                 MHD_PANIC ("close failed\n");         
26               goto free_and_fail;             
This page took 0.067869 seconds and 3 git commands to generate.