Mercurial > pidgin.yaz
changeset 29322:816e9b5f3310
We set every field of this struct explicitly when we create it, so don't
bother to zero it out
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 02 Feb 2010 22:56:17 +0000 |
parents | 55cda40d5cf4 |
children | d7cc8dbf91f0 |
files | libpurple/protocols/oscar/family_oservice.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/oscar/family_oservice.c Tue Feb 02 20:42:00 2010 +0000 +++ b/libpurple/protocols/oscar/family_oservice.c Tue Feb 02 22:56:17 2010 +0000 @@ -323,7 +323,7 @@ struct timeval now; gettimeofday(&now, NULL); - rateclass = g_new0(struct rateclass, 1); + rateclass = g_new(struct rateclass, 1); rateclass->classid = byte_stream_get16(bs); rateclass->windowsize = byte_stream_get32(bs);