Init_Server_Struct(): correctly zero Server->bind_addr

Don't use the size of the pointer, use the size of the variable!
This commit is contained in:
Alexander Barton 2011-11-05 00:21:19 +01:00
parent d2f54abbed
commit 1ea6811616
1 changed files with 1 additions and 1 deletions

View File

@ -2048,7 +2048,7 @@ Init_Server_Struct( CONF_SERVER *Server )
Proc_InitStruct(&Server->res_stat);
Server->conn_id = NONE;
memset(&Server->bind_addr, 0, sizeof(&Server->bind_addr));
memset(&Server->bind_addr, 0, sizeof(Server->bind_addr));
}
/* -eof- */