summaryrefslogtreecommitdiff
path: root/protocols/MSN/src/msn_soapab.cpp
diff options
context:
space:
mode:
authorPiotr Piastucki <leech.miranda@gmail.com>2015-05-15 14:09:33 +0000
committerPiotr Piastucki <leech.miranda@gmail.com>2015-05-15 14:09:33 +0000
commit3a4e64f3b6109ceac961dc8d2c6aa93f18f87514 (patch)
tree1bc759d2b1e666aacb208be22a2eaddbfba07e32 /protocols/MSN/src/msn_soapab.cpp
parentc2fa1d69a0ee5e9a558b080fe04f54641a1ecce5 (diff)
Fixed bug on static buffer copy introduced in 13604
Removed unnecessary use of strlen git-svn-id: http://svn.miranda-ng.org/main/trunk@13606 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN/src/msn_soapab.cpp')
-rw-r--r--protocols/MSN/src/msn_soapab.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/MSN/src/msn_soapab.cpp b/protocols/MSN/src/msn_soapab.cpp
index 8c79783a06..27ba917d24 100644
--- a/protocols/MSN/src/msn_soapab.cpp
+++ b/protocols/MSN/src/msn_soapab.cpp
@@ -923,8 +923,7 @@ bool CMsnProto::MSN_ABRefreshClist(void)
}
else continue;
- if (mir_strlen(szEmail) == 0)
- continue;
+ if (!*szEmail) continue;
ezxml_t xmlnick = ezxml_child(pers, "nickname");
const char *pszNickname = xmlnick?xmlnick->txt:NULL;