diff options
author | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-07-05 04:48:21 +0000 |
---|---|---|
committer | sje <sje@4f64403b-2f21-0410-a795-97e2b3489a10> | 2007-07-05 04:48:21 +0000 |
commit | cb0da06f1bf5a44f4841a6a3fb210373efe954f3 (patch) | |
tree | 57337b224f24de6b1335f7e93c7bab5459a71053 | |
parent | e37c2bd12221f2acb255d6b04a537125ddb72e6c (diff) |
error C2362: initialization of 'dflags' is skipped by 'goto free_and_exit'
remove parsing of '/3' for now (until lists implemented)
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@254 4f64403b-2f21-0410-a795-97e2b3489a10
-rw-r--r-- | MySpace/NetMessage.cpp | 1 | ||||
-rw-r--r-- | MySpace/server_con.cpp | 5 |
2 files changed, 3 insertions, 3 deletions
diff --git a/MySpace/NetMessage.cpp b/MySpace/NetMessage.cpp index a8d2e3c..a43ce85 100644 --- a/MySpace/NetMessage.cpp +++ b/MySpace/NetMessage.cpp @@ -150,7 +150,6 @@ char *NetMessage::unescape_inplace(char *val) { read_pos++;
if(val[read_pos] == '1') val[write_pos++] = '/';
else if(val[read_pos] == '2') val[write_pos++] = '\\';
- else if(val[read_pos] == '3') val[write_pos++] = '|';
else val[write_pos++] = '?';
read_pos++;
} else {
diff --git a/MySpace/server_con.cpp b/MySpace/server_con.cpp index 03321da..e5f9ccd 100644 --- a/MySpace/server_con.cpp +++ b/MySpace/server_con.cpp @@ -870,6 +870,7 @@ void __cdecl sttDownloadAvatar(void *param) { req.szUrl = info->url;
req.flags = 0;
NETLIBHTTPREQUEST *nlhrReply = 0;
+ int dlflags = 0;
ProtoBroadcastAck(MODULE,info->hContact, ACKTYPE_AVATAR, ACKRESULT_CONNECTING, 0, 0);
@@ -909,10 +910,10 @@ void __cdecl sttDownloadAvatar(void *param) { ProtoBroadcastAck(MODULE,info->hContact,ACKTYPE_AVATAR,ACKRESULT_SENTREQUEST, 0, 0);
- int dflags = (req.flags&NLHRF_DUMPASTEXT?MSG_DUMPASTEXT:0) |
+ dlflags = (req.flags&NLHRF_DUMPASTEXT?MSG_DUMPASTEXT:0) |
(req.flags&NLHRF_NODUMP?MSG_NODUMP:(req.flags&NLHRF_DUMPPROXY?MSG_DUMPPROXY:0));
- nlhrReply = NetlibHttpRecv(hConnection, 0, dflags);
+ nlhrReply = NetlibHttpRecv(hConnection, 0, dlflags);
Netlib_CloseHandle(hConnection);
|