X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=src%2Fprotocol_key.c;h=b614494b74b55cc2b41fdc0daaffa7f1ef00ff9a;hp=480019e7798c484c8a24288ca3e5ddd7e406050f;hb=963c5055505f2fc117cd5efa06eaa02c9b2bf85d;hpb=009b6208f5a15e932c7e85f7e357a6c821770274 diff --git a/src/protocol_key.c b/src/protocol_key.c index 480019e7..b614494b 100644 --- a/src/protocol_key.c +++ b/src/protocol_key.c @@ -135,7 +135,7 @@ static bool req_key_ext_h(meshlink_handle_t *mesh, connection_t *c, const char * for list_each(outgoing_t, outgoing, mesh->outgoings) { if(outgoing->node == from && outgoing->ev.cb) { outgoing->timeout = 0; - timeout_set(&mesh->loop, &outgoing->ev, &(struct timeval) { + timeout_set(&mesh->loop, &outgoing->ev, &(struct timespec) { 0, 0 }); }