Author: cwittich
Date: Sat Jan 10 12:44:33 2009
New Revision: 38684
URL:
http://svn.reactos.org/svn/reactos?rev=38684&view=rev
Log:
sync inetcomm with wine 1.1.12
Modified:
trunk/reactos/dll/win32/inetcomm/pop3transport.c
trunk/reactos/dll/win32/inetcomm/regsvr.c
Modified: trunk/reactos/dll/win32/inetcomm/pop3transport.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/inetcomm/pop3tra…
==============================================================================
--- trunk/reactos/dll/win32/inetcomm/pop3transport.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/inetcomm/pop3transport.c [iso-8859-1] Sat Jan 10 12:44:33
2009
@@ -460,7 +460,7 @@
InternetTransport_ReadLine(&This->InetTransport,
POP3Transport_CallbackProcessRSETResp);
}
-void POP3Transport_CallbackProcessRETRResp(IInternetTransport *iface, char *pBuffer, int
cbBuffer)
+static void POP3Transport_CallbackProcessRETRResp(IInternetTransport *iface, char
*pBuffer, int cbBuffer)
{
POP3Transport *This = (POP3Transport *)iface;
POP3RESPONSE response;
Modified: trunk/reactos/dll/win32/inetcomm/regsvr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/inetcomm/regsvr.…
==============================================================================
--- trunk/reactos/dll/win32/inetcomm/regsvr.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/inetcomm/regsvr.c [iso-8859-1] Sat Jan 10 12:44:33 2009
@@ -35,6 +35,7 @@
#include "inetcomm_private.h"
#include "wine/debug.h"
+#include "wine/unicode.h"
WINE_DEFAULT_DEBUG_CHANNEL(inetcomm);
@@ -151,7 +152,7 @@
KEY_READ | KEY_WRITE, NULL, &key, NULL);
if (res != ERROR_SUCCESS) goto error_close_iid_key;
- wsprintfW(buf, fmt, list->num_methods);
+ sprintfW(buf, fmt, list->num_methods);
res = RegSetValueExW(key, NULL, 0, REG_SZ,
(CONST BYTE*)buf,
(lstrlenW(buf) + 1) * sizeof(WCHAR));