diff --git a/ChangeLog b/ChangeLog index 75f51ea..3c181e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,12 @@ Version 1.6.16 ******************************************************************************* +2012-03-07 Fabrice Fontaine + + Remove SIZEOF_MISTACH error in notify_send_and_recv + + Replace sizeof(CRLF) by strlen(CRLF) as CRLF is a const char*. + 2012-03-07 Fabrice Fontaine SF Bug Tracker id 3498442 - Memory leak in get_file_info diff --git a/upnp/src/gena/gena_device.c b/upnp/src/gena/gena_device.c index 4f3e355..d4ec968 100644 --- a/upnp/src/gena/gena_device.c +++ b/upnp/src/gena/gena_device.c @@ -211,7 +211,7 @@ static UPNP_INLINE int notify_send_and_recv( "bbb", start_msg.buf, start_msg.length, propertySet, strlen(propertySet), - CRLF, sizeof CRLF); + CRLF, strlen(CRLF)); if (ret_code) { membuffer_destroy(&start_msg); sock_destroy(&info, SD_BOTH);