libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 21b2dd96aaffa8e2d0937a339bbdace882db0fee
parent 12a6689266ccc3186b4a30441979aa91ec1f5dae
Author: Christian Grothoff <christian@grothoff.org>
Date:   Thu,  1 Feb 2018 10:18:02 +0100

getting ready for 0.9.59

Diffstat:
MChangeLog | 3+++
Mconfigure.ac | 2+-
Msrc/include/microhttpd.h | 2+-
Msrc/microhttpd/base64.c | 2+-
4 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,6 @@ +Thu Feb 1 10:12:22 CET 2018 + Releasing GNU libicrohttpd 0.9.59. -CG + Thu Feb 1 08:39:50 CET 2018 Fix masking operation. -CG/silvioprog diff --git a/configure.ac b/configure.ac @@ -22,7 +22,7 @@ # AC_PREREQ([2.64]) LT_PREREQ([2.4.0]) -AC_INIT([GNU Libmicrohttpd],[0.9.58],[libmicrohttpd@gnu.org]) +AC_INIT([GNU Libmicrohttpd],[0.9.59],[libmicrohttpd@gnu.org]) AM_INIT_AUTOMAKE([silent-rules] [subdir-objects]) AC_CONFIG_HEADERS([MHD_config.h]) AC_CONFIG_MACRO_DIR([m4]) diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h @@ -126,7 +126,7 @@ typedef intptr_t ssize_t; * Current version of the library. * 0x01093001 = 1.9.30-1. */ -#define MHD_VERSION 0x00095801 +#define MHD_VERSION 0x00095900 /** * MHD-internal return code for "YES". diff --git a/src/microhttpd/base64.c b/src/microhttpd/base64.c @@ -36,7 +36,7 @@ BASE64Decode(const char* src) return NULL; } result = dest = malloc(in_len / 4 * 3 + 1); - if (result == NULL) + if (NULL == result) return NULL; /* out of memory */ while (*src) { char a = base64_digits[(unsigned char)*(src++)];