Major bug fix in http_SendMessage.
Currently, http_SendMessage was not able to write to write a buffer due to a bad use of file_buf instead of buf. This bug was introduced by the 0197-Doxygen-reformating-compiler-warnings patch. (cherry picked from commit 2c3bce13bdcf534c77f525c7e7960cad2bf43087)
This commit is contained in:
parent
86783f0329
commit
57e9584f4e
@ -237,6 +237,14 @@ Version 1.8.0
|
||||
Version 1.6.10
|
||||
*******************************************************************************
|
||||
|
||||
2010-11-23 Fabrice Fontaine <fabrice.fontaine(at)orange-ftgroup.com>
|
||||
|
||||
Major bug fix in http_SendMessage.
|
||||
|
||||
Currently, http_SendMessage was not able to write to write a buffer
|
||||
due to a bad use of file_buf instead of buf. This bug was introduced by
|
||||
the 0197-Doxygen-reformating-compiler-warnings patch.
|
||||
|
||||
2010-11-23 Fabrice Fontaine <fabrice.fontaine(at)orange-ftgroup.com>
|
||||
|
||||
Returning the Sid in Upnp_Event_Subscribe.
|
||||
|
@ -589,7 +589,7 @@ int http_SendMessage(IN SOCKINFO * info, IN OUT int *TimeOut,
|
||||
buf = va_arg(argp, char *);
|
||||
buf_length = va_arg(argp, size_t);
|
||||
if (buf_length > 0) {
|
||||
nw = sock_write(info, file_buf, num_read, TimeOut);
|
||||
nw = sock_write(info, buf, buf_length, TimeOut);
|
||||
num_written = (size_t)nw;
|
||||
UpnpPrintf(UPNP_INFO, HTTP, __FILE__, __LINE__,
|
||||
">>> (SENT) >>>\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user