Remove SIZEOF_MISTACH error in notify_send_and_recv
Replace sizeof(CRLF) by strlen(CRLF) as CRLF is a const char*.
This commit is contained in:
parent
56c26b5199
commit
cec9d55c4c
@ -2,6 +2,12 @@
|
||||
Version 1.6.16
|
||||
*******************************************************************************
|
||||
|
||||
2012-03-07 Fabrice Fontaine <fabrice.fontaine(at)orange.com>
|
||||
|
||||
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 <fabrice.fontaine(at)orange.com>
|
||||
|
||||
SF Bug Tracker id 3498442 - Memory leak in get_file_info
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user