mirror of
https://github.com/reactos/reactos.git
synced 2024-12-30 19:14:31 +00:00
sync inetcomm with wine 1.1.12
svn path=/trunk/; revision=38684
This commit is contained in:
parent
759f83b3d0
commit
7658643bd5
2 changed files with 3 additions and 2 deletions
|
@ -460,7 +460,7 @@ static void POP3Transport_CallbackRecvRSETResp(IInternetTransport *iface, char *
|
|||
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;
|
||||
|
|
|
@ -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 @@ static HRESULT register_interfaces(struct regsvr_interface const *list)
|
|||
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));
|
||||
|
|
Loading…
Reference in a new issue