source: roaraudio/libroar/auth.c @ 131:5c50eb890cf2

Last change on this file since 131:5c50eb890cf2 was 131:5c50eb890cf2, checked in by phi, 16 years ago

make valgrind happy: initialise unused memory

File size: 273 bytes
Line 
1//auth.c:
2
3#include "libroar.h"
4
5int roar_auth   (struct roar_connection * con) {
6 struct roar_message mes;
7
8 memset(&mes, 0, sizeof(struct roar_message)); // make valgrind happy!
9
10 mes.cmd     = ROAR_CMD_AUTH;
11 mes.datalen = 0;
12
13 return roar_req(con, &mes, NULL);
14}
15
16//ll
Note: See TracBrowser for help on using the repository browser.