summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/src/icq_uploadui.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-07-10 20:34:46 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-07-10 20:34:53 +0300
commit916d3c8fc91d4290aaf5625db636b6cf102306a6 (patch)
tree2a29cc423ec49112abf48066369629ce92fc068d /protocols/IcqOscarJ/src/icq_uploadui.cpp
parent8b981c349ce9489de8c3866bac909f091bb41f8c (diff)
ICQ:
- warning fixes; - minor code cleaning
Diffstat (limited to 'protocols/IcqOscarJ/src/icq_uploadui.cpp')
-rw-r--r--protocols/IcqOscarJ/src/icq_uploadui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/IcqOscarJ/src/icq_uploadui.cpp b/protocols/IcqOscarJ/src/icq_uploadui.cpp
index fcf7058703..8b35afbed6 100644
--- a/protocols/IcqOscarJ/src/icq_uploadui.cpp
+++ b/protocols/IcqOscarJ/src/icq_uploadui.cpp
@@ -135,7 +135,7 @@ static int GroupEnumIdsEnumProc(const char *szSetting, void *lParam)
if (db_get_static(NULL, (char*)lParam, szSetting, val, MAX_PATH))
return 0; // this converts all string types to DBVT_ASCIIZ
- pwGroupIds = (WORD*)SAFE_REALLOC(pwGroupIds, (cbGroupIds + 1)*sizeof(WORD));
+ pwGroupIds = (WORD*)SAFE_REALLOC(pwGroupIds, (cbGroupIds + 1) * sizeof(WORD));
pwGroupIds[cbGroupIds] = (WORD)strtoul(szSetting, nullptr, 0x10);
cbGroupIds++;
}
@@ -171,7 +171,7 @@ static DWORD sendUploadBuddy(CIcqProto* ppro, MCONTACT hContact, WORD wAction, D
cookie_servlist_action *ack = (cookie_servlist_action*)SAFE_MALLOC(sizeof(cookie_servlist_action));
if (ack == nullptr)
return 0;
-
+
// we have cookie good, go on
ack->hContact = hContact;
ack->wContactId = wContactId;