summaryrefslogtreecommitdiff
path: root/protocols/AimOscar/src/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/AimOscar/src/server.cpp')
-rw-r--r--protocols/AimOscar/src/server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/AimOscar/src/server.cpp b/protocols/AimOscar/src/server.cpp
index 8407f426fd..c2b74f219d 100644
--- a/protocols/AimOscar/src/server.cpp
+++ b/protocols/AimOscar/src/server.cpp
@@ -2267,7 +2267,7 @@ void CAimProto::snac_admin_account_confirm(SNAC &snac)//family 0x0007
char sn[33];
int sn_length=buf[SNAC_SIZE*2];
MCONTACT hContact;
- ZeroMemory(sn,sizeof(sn));
+ memset(sn, 0, sizeof(sn));
memcpy(sn,&buf[SNAC_SIZE*2+1],sn_length);
hContact=find_contact(sn);
if (hContact)