Use correct sizeof value (#426)

* Use correct sizeof() value

* Use correct size for Zero()
This commit is contained in:
Maks Naumov authored and Moataz Elmasry committed 2018-04-11 22:53:59 +02:00
1 parent 596493e1a1
commit 3f553abf1d
2 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -1341,7 +1341,7 @@ void GetServerCaps(SERVER *s, CAPSLIST *t)
GetServerCapsMain(s, s->CapsListCache);
}
Copy(t, s->CapsListCache, sizeof(s->CapsListCache));
Copy(t, s->CapsListCache, sizeof(CAPSLIST));
}
Unlock(s->CapsCacheLock);
}