From bb15152ccd3f4e3d1f7456606bb115ee4d687c49 Mon Sep 17 00:00:00 2001 From: Maks Naumov Date: Tue, 16 Jan 2018 12:42:11 +0200 Subject: [PATCH] Use correct sizeof() value --- src/Cedar/Server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cedar/Server.c b/src/Cedar/Server.c index 5ac3e3e7..b0d64b84 100644 --- a/src/Cedar/Server.c +++ b/src/Cedar/Server.c @@ -1359,7 +1359,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); }