]> git.meshlink.io Git - meshlink/commitdiff
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 b31bed737e0653ae0a0c8fb1a7bf130a6c6364a0..3d05ca9c8fd533deddc0599640b84df0e1879281 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);
        }