]> arthur.barton.de Git - ngircd.git/blobdiff - src/ngircd/conf.c
Init_Server_Struct(): correctly zero Server->bind_addr
[ngircd.git] / src / ngircd / conf.c
index 97634af919e609259922d82138208afb4f8043ec..dccc9c7a27929feae79206f0038d738218f9c19f 100644 (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- */