]> git.meshlink.io Git - meshlink/blobdiff - src/net_socket.c
Rename xmalloc_and_zero() to xzalloc().
[meshlink] / src / net_socket.c
index 5332ed20326702c8de68bf6ce22b6df2ea560924..1b49aeeb4090865dd357cc235e1dffc24fe0de72 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);