mirror of
https://github.com/owntone/owntone-server.git
synced 2025-03-13 21:12:56 -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;
|
||||
}
|
||||
|
||||
memset(msg,0x00,sizeof(msg)); /* shut valgrind up */
|
||||
msg.cmd=REND_MSG_TYPE_REGISTER;
|
||||
strcpy(msg.name,name);
|
||||
strcpy(msg.type,type);
|
||||
|
Loading…
x
Reference in New Issue
Block a user