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.
This commit is contained in:
parent
bda942b22a
commit
2c3bce13bd
@ -2,6 +2,14 @@
|
|||||||
Version 1.6.10
|
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>
|
2010-11-23 Fabrice Fontaine <fabrice.fontaine(at)orange-ftgroup.com>
|
||||||
|
|
||||||
Returning the Sid in Upnp_Event_Subscribe.
|
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 = va_arg(argp, char *);
|
||||||
buf_length = va_arg(argp, size_t);
|
buf_length = va_arg(argp, size_t);
|
||||||
if (buf_length > 0) {
|
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;
|
num_written = (size_t)nw;
|
||||||
UpnpPrintf(UPNP_INFO, HTTP, __FILE__, __LINE__,
|
UpnpPrintf(UPNP_INFO, HTTP, __FILE__, __LINE__,
|
||||||
">>> (SENT) >>>\n"
|
">>> (SENT) >>>\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user