sparse fixup: error: too many arguments for function send_key_changed
authorSven-Haegar Koch <haegar@sdinet.de>
Sat, 28 May 2011 01:12:03 +0000 (03:12 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sat, 28 May 2011 13:24:39 +0000 (15:24 +0200)
src/net_setup.c

index b31bed7..3d05ca9 100644 (file)
@@ -147,7 +147,7 @@ void regenerate_key() {
        if(timeout_initialized(&keyexpire_event)) {
                ifdebug(STATUS) logger(LOG_INFO, "Expiring symmetric keys");
                event_del(&keyexpire_event);
-               send_key_changed(broadcast, myself);
+               send_key_changed();
        } else {
                timeout_set(&keyexpire_event, keyexpire_handler, NULL);
        }