summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/buddylistonlinepacket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Xfire/src/buddylistonlinepacket.cpp')
-rw-r--r--protocols/Xfire/src/buddylistonlinepacket.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Xfire/src/buddylistonlinepacket.cpp b/protocols/Xfire/src/buddylistonlinepacket.cpp
index c65e3787a0..be7226ab16 100644
--- a/protocols/Xfire/src/buddylistonlinepacket.cpp
+++ b/protocols/Xfire/src/buddylistonlinepacket.cpp
@@ -73,9 +73,9 @@ namespace xfirelib
index++;//ignore 00
for (int i = 0; i < numberOfIds; i++) {
index += userid.readValue(buf, index, 16);
- char *sid = new char[16];
- memcpy(sid, userid.getValue(), 16);
- sids->push_back(sid);
+ char *szSid = new char[16];
+ memcpy(szSid, userid.getValue(), 16);
+ sids->push_back(szSid);
}
}
};