Author: akhaldi
Date: Tue Apr 22 21:23:22 2014
New Revision: 62895
URL:
http://svn.reactos.org/svn/reactos?rev=62895&view=rev
Log:
[INETCOMM]
* Sync with Wine 1.7.17.
CORE-8080
Modified:
trunk/reactos/dll/win32/inetcomm/inetcomm.idl
trunk/reactos/dll/win32/inetcomm/mimeole.c
trunk/reactos/dll/win32/inetcomm/pop3transport.c
trunk/reactos/media/doc/README.WINE
Modified: trunk/reactos/dll/win32/inetcomm/inetcomm.idl
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/inetcomm/inetcom…
==============================================================================
--- trunk/reactos/dll/win32/inetcomm/inetcomm.idl [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/inetcomm/inetcomm.idl [iso-8859-1] Tue Apr 22 21:23:22 2014
@@ -17,6 +17,8 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
+
+#pragma makedep register
[
helpstring("CLSID_IMimeBody"),
Modified: trunk/reactos/dll/win32/inetcomm/mimeole.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/inetcomm/mimeole…
==============================================================================
--- trunk/reactos/dll/win32/inetcomm/mimeole.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/inetcomm/mimeole.c [iso-8859-1] Tue Apr 22 21:23:22 2014
@@ -119,7 +119,7 @@
char *buf = NULL;
DWORD size = PARSER_BUF_SIZE, offset = 0, last_end = 0;
HRESULT hr;
- int done = 0;
+ BOOL done = FALSE;
*ptr = NULL;
@@ -147,7 +147,7 @@
offset += read;
buf[offset] = '\0';
- if(read == 0) done = 1;
+ if(read == 0) done = TRUE;
while(!done && (end = strstr(buf + last_end, "\r\n")))
{
@@ -158,7 +158,7 @@
off.QuadPart = new_end;
IStream_Seek(stm, off, STREAM_SEEK_SET, NULL);
buf[new_end] = '\0';
- done = 1;
+ done = TRUE;
}
else
last_end = new_end;
@@ -253,14 +253,14 @@
static char *unquote_string(const char *str)
{
- int quoted = 0;
+ BOOL quoted = FALSE;
char *ret, *cp;
while(*str == ' ' || *str == '\t') str++;
if(*str == '"')
{
- quoted = 1;
+ quoted = TRUE;
str++;
}
ret = strdupA(str);
@@ -316,20 +316,19 @@
static void split_params(header_t *header, char *value)
{
char *cp = value, *start = value;
- int in_quote = 0;
- int done_value = 0;
+ BOOL in_quotes = FALSE, done_value = FALSE;
while(*cp)
{
- if(!in_quote && *cp == ';')
+ if(!in_quotes && *cp == ';')
{
*cp = '\0';
if(done_value) add_param(header, start);
- done_value = 1;
+ done_value = TRUE;
start = cp + 1;
}
else if(*cp == '"')
- in_quote = !in_quote;
+ in_quotes = !in_quotes;
cp++;
}
if(done_value) add_param(header, start);
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] Tue Apr 22 21:23:22
2014
@@ -617,7 +617,7 @@
static void POP3Transport_CallbackProcessUSERResp(IInternetTransport *iface, char
*pBuffer, int cbBuffer)
{
- static char pass[] = "PASS ";
+ static const char pass[] = "PASS ";
POP3Transport *This = (POP3Transport *)iface;
POP3RESPONSE response;
char *command;
@@ -658,7 +658,7 @@
static void POP3Transport_CallbackSendUSERCmd(IInternetTransport *iface, char *pBuffer,
int cbBuffer)
{
- static char user[] = "USER ";
+ static const char user[] = "USER ";
POP3Transport *This = (POP3Transport *)iface;
char *command;
int len;
@@ -854,7 +854,7 @@
static HRESULT WINAPI POP3Transport_CommandUSER(IPOP3Transport *iface, LPSTR username)
{
- static char user[] = "USER ";
+ static const char user[] = "USER ";
POP3Transport *This = (POP3Transport *)iface;
char *command;
int len;
@@ -877,7 +877,7 @@
static HRESULT WINAPI POP3Transport_CommandPASS(IPOP3Transport *iface, LPSTR password)
{
- static char pass[] = "PASS ";
+ static const char pass[] = "PASS ";
POP3Transport *This = (POP3Transport *)iface;
char *command;
int len;
@@ -901,7 +901,7 @@
static HRESULT WINAPI POP3Transport_CommandLIST(
IPOP3Transport *iface, POP3CMDTYPE cmdtype, DWORD dwPopId)
{
- static char list[] = "LIST %u\r\n";
+ static const char list[] = "LIST %u\r\n";
static char list_all[] = "LIST\r\n";
POP3Transport *This = (POP3Transport *)iface;
char *command;
@@ -928,7 +928,7 @@
static HRESULT WINAPI POP3Transport_CommandTOP(
IPOP3Transport *iface, POP3CMDTYPE cmdtype, DWORD dwPopId, DWORD cPreviewLines)
{
- static char top[] = "TOP %u %u\r\n";
+ static const char top[] = "TOP %u %u\r\n";
POP3Transport *This = (POP3Transport *)iface;
char *command;
int len;
@@ -950,7 +950,7 @@
static HRESULT WINAPI POP3Transport_CommandQUIT(IPOP3Transport *iface)
{
- static char command[] = "QUIT\r\n";
+ static const char command[] = "QUIT\r\n";
POP3Transport *This = (POP3Transport *)iface;
TRACE("()\n");
@@ -963,7 +963,7 @@
static HRESULT WINAPI POP3Transport_CommandSTAT(IPOP3Transport *iface)
{
- static char stat[] = "STAT\r\n";
+ static const char stat[] = "STAT\r\n";
POP3Transport *This = (POP3Transport *)iface;
TRACE("\n");
@@ -975,7 +975,7 @@
static HRESULT WINAPI POP3Transport_CommandNOOP(IPOP3Transport *iface)
{
- static char noop[] = "NOOP\r\n";
+ static const char noop[] = "NOOP\r\n";
POP3Transport *This = (POP3Transport *)iface;
TRACE("\n");
@@ -987,7 +987,7 @@
static HRESULT WINAPI POP3Transport_CommandRSET(IPOP3Transport *iface)
{
- static char rset[] = "RSET\r\n";
+ static const char rset[] = "RSET\r\n";
POP3Transport *This = (POP3Transport *)iface;
TRACE("\n");
@@ -1000,7 +1000,7 @@
static HRESULT WINAPI POP3Transport_CommandUIDL(
IPOP3Transport *iface, POP3CMDTYPE cmdtype, DWORD dwPopId)
{
- static char uidl[] = "UIDL %u\r\n";
+ static const char uidl[] = "UIDL %u\r\n";
static char uidl_all[] = "UIDL\r\n";
POP3Transport *This = (POP3Transport *)iface;
char *command;
@@ -1027,7 +1027,7 @@
static HRESULT WINAPI POP3Transport_CommandDELE(
IPOP3Transport *iface, POP3CMDTYPE cmdtype, DWORD dwPopId)
{
- static char dele[] = "DELE %u\r\n";
+ static const char dele[] = "DELE %u\r\n";
POP3Transport *This = (POP3Transport *)iface;
char *command;
int len;
@@ -1049,7 +1049,7 @@
static HRESULT WINAPI POP3Transport_CommandRETR(
IPOP3Transport *iface, POP3CMDTYPE cmdtype, DWORD dwPopId)
{
- static char retr[] = "RETR %u\r\n";
+ static const char retr[] = "RETR %u\r\n";
POP3Transport *This = (POP3Transport *)iface;
char *command;
int len;
Modified: trunk/reactos/media/doc/README.WINE
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/media/doc/README.WINE?rev=…
==============================================================================
--- trunk/reactos/media/doc/README.WINE [iso-8859-1] (original)
+++ trunk/reactos/media/doc/README.WINE [iso-8859-1] Tue Apr 22 21:23:22 2014
@@ -85,7 +85,7 @@
reactos/dll/win32/imaadp32.acm # Synced to Wine-1.7.1
reactos/dll/win32/imagehlp # Synced to Wine-1.7.1
reactos/dll/win32/imm32 # Synced to Wine-1.7.1
-reactos/dll/win32/inetcomm # Synced to Wine-1.7.1
+reactos/dll/win32/inetcomm # Synced to Wine-1.7.17
reactos/dll/win32/inetmib1 # Synced to Wine-1.7.1
reactos/dll/win32/initpki # Synced to Wine-1.7.1
reactos/dll/win32/inseng # Synced to Wine-1.7.1