gnunet-svn
[Top][All Lists]
Advanced

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

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


From: gnunet
Subject: [GNUnet-SVN] r36835 - libmicrohttpd/src/microhttpd
Date: Mon, 18 Jan 2016 22:09:07 +0100

Author: grothoff
Date: 2016-01-18 22:09:06 +0100 (Mon, 18 Jan 2016)
New Revision: 36835

Modified:
   libmicrohttpd/src/microhttpd/response.c
Log:
-indenting

Modified: libmicrohttpd/src/microhttpd/response.c
===================================================================
--- libmicrohttpd/src/microhttpd/response.c     2016-01-18 20:56:34 UTC (rev 
36834)
+++ libmicrohttpd/src/microhttpd/response.c     2016-01-18 21:09:06 UTC (rev 
36835)
@@ -429,7 +429,9 @@
       (size > (uint64_t)INT32_MAX || offset > (uint64_t)INT32_MAX || (size + 
offset) >= (uint64_t)INT32_MAX))
     return NULL;
 #endif
-  if ((int64_t)size < 0 || (int64_t)offset < 0 || (int64_t)(size + offset) < 0)
+  if ( ((int64_t)size < 0) ||
+       ((int64_t)offset < 0) ||
+       ((int64_t)(size + offset) < 0) )
     return NULL;
 
   response = MHD_create_response_from_callback (size,
@@ -477,8 +479,8 @@
  * @ingroup response
  */
 _MHD_EXTERN struct MHD_Response *
-MHD_create_response_from_fd64(uint64_t size,
-                              int fd)
+MHD_create_response_from_fd64 (uint64_t size,
+                               int fd)
 {
   return MHD_create_response_from_fd_at_offset64 (size, fd, 0);
 }




reply via email to

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