Search for lzo/lzo1x.h, lzo2/lzo1x.h and lzo1x.h.
[oweals/tinc.git] / src / net_packet.c
index 8b877c21a93e59349695fac2aef00542b3db1522..105cafbb21e3d2b90368fa739de5a1aafff95d8e 100644 (file)
@@ -29,7 +29,7 @@
 #include <openssl/hmac.h>
 
 #include <zlib.h>
-#include <lzo1x.h>
+#include LZO1X_H
 
 #include "avl_tree.h"
 #include "conf.h"
@@ -96,7 +96,7 @@ void send_mtu_probe(node_t *n)
                send_udppacket(n, &packet);
        }
 
-       n->mtuevent = xmalloc(sizeof(*n->mtuevent));
+       n->mtuevent = new_event();
        n->mtuevent->handler = (event_handler_t)send_mtu_probe;
        n->mtuevent->data = n;
        n->mtuevent->time = now + 1;