Hans Leidekker : webservices: Return the number of bytes written from WsWriteXmlBufferToBytes.
Alexandre Julliard
julliard at winehq.org
Fri Jul 8 10:02:05 CDT 2016
Module: wine
Branch: master
Commit: da5c332c924cbc4c485c48edab083ec6527b1988
URL: http://source.winehq.org/git/wine.git/?a=commit;h=da5c332c924cbc4c485c48edab083ec6527b1988
Author: Hans Leidekker <hans at codeweavers.com>
Date: Fri Jul 8 10:20:33 2016 +0200
webservices: Return the number of bytes written from WsWriteXmlBufferToBytes.
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/webservices/writer.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/webservices/writer.c b/dlls/webservices/writer.c
index 50cd398..45c5021 100644
--- a/dlls/webservices/writer.c
+++ b/dlls/webservices/writer.c
@@ -1929,6 +1929,7 @@ HRESULT WINAPI WsWriteXmlBufferToBytes( WS_XML_WRITER *handle, WS_XML_BUFFER *bu
if (!(buf = ws_alloc( heap, xmlbuf->size ))) return WS_E_QUOTA_EXCEEDED;
memcpy( buf, xmlbuf->ptr, xmlbuf->size );
*bytes = buf;
+ *size = xmlbuf->size;
return S_OK;
}
More information about the wine-cvs
mailing list