Rename xmalloc_and_zero() to xzalloc().
[tinc] / src / net_socket.c
index 5332ed2..1b49aee 100644 (file)
@@ -674,7 +674,7 @@ void try_outgoing_connections(void) {
                }
 
                if(!found) {
-                       outgoing_t *outgoing = xmalloc_and_zero(sizeof *outgoing);
+                       outgoing_t *outgoing = xzalloc(sizeof *outgoing);
                        outgoing->name = name;
                        list_insert_tail(outgoing_list, outgoing);
                        setup_outgoing_connection(outgoing);