mirror of
https://github.com/owntone/owntone-server.git
synced 2025-03-19 20:14:18 -04:00
Fix minor valgrind bugs
This commit is contained in:
parent
01023b470d
commit
ca260d4fb9
@ -129,6 +129,7 @@ int rend_register(char *name, char *type, int port) {
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
memset(msg,0x00,sizeof(msg)); /* shut valgrind up */
|
||||||
msg.cmd=REND_MSG_TYPE_REGISTER;
|
msg.cmd=REND_MSG_TYPE_REGISTER;
|
||||||
strcpy(msg.name,name);
|
strcpy(msg.name,name);
|
||||||
strcpy(msg.type,type);
|
strcpy(msg.type,type);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user