comparison libpurple/protocols/oscar/family_oservice.c @ 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 45583f271c02
children d7cc8dbf91f0
comparison
equal deleted inserted replaced
29321:55cda40d5cf4 29322:816e9b5f3310
321 struct rateclass *rateclass; 321 struct rateclass *rateclass;
322 guint32 delta; 322 guint32 delta;
323 struct timeval now; 323 struct timeval now;
324 324
325 gettimeofday(&now, NULL); 325 gettimeofday(&now, NULL);
326 rateclass = g_new0(struct rateclass, 1); 326 rateclass = g_new(struct rateclass, 1);
327 327
328 rateclass->classid = byte_stream_get16(bs); 328 rateclass->classid = byte_stream_get16(bs);
329 rateclass->windowsize = byte_stream_get32(bs); 329 rateclass->windowsize = byte_stream_get32(bs);
330 rateclass->clear = byte_stream_get32(bs); 330 rateclass->clear = byte_stream_get32(bs);
331 rateclass->alert = byte_stream_get32(bs); 331 rateclass->alert = byte_stream_get32(bs);