]> git.meshlink.io Git - meshlink/blobdiff - src/edge.c
Started the implementation of route_meshlink that at the moment routes packets based...
[meshlink] / src / edge.c
index fd033273296a41217e59551ea18145d7dc7b57b7..f185b4fec35329dcb8e8f482a1b28efd8ab94049 100644 (file)
@@ -1,6 +1,6 @@
 /*
     edge.c -- edge tree management
-    Copyright (C) 2000-2012 Guus Sliepen <guus@tinc-vpn.org>,
+    Copyright (C) 2000-2013 Guus Sliepen <guus@tinc-vpn.org>,
                   2000-2005 Ivo Timmermans
 
     This program is free software; you can redistribute it and/or modify
@@ -70,7 +70,7 @@ void exit_edges(void) {
 /* Creation and deletion of connection elements */
 
 edge_t *new_edge(void) {
-       return xmalloc_and_zero(sizeof(edge_t));
+       return xzalloc(sizeof(edge_t));
 }
 
 void free_edge(edge_t *e) {