X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fdiscovery.c;fp=src%2Fdiscovery.c;h=2a74cc35bd22a5ef321bc68ce80ff0f50b521143;hb=4c57e6902219ecca1872e18e34365d8e54a0f407;hp=da4a1d7de4e010b0b5872327056f2ba4047cb1c7;hpb=27b37a02bd75e71ed0a95ab201ba15ef4f5cb588;p=meshlink diff --git a/src/discovery.c b/src/discovery.c index da4a1d7d..2a74cc35 100644 --- a/src/discovery.c +++ b/src/discovery.c @@ -257,7 +257,7 @@ static void discovery_resolve_callback(CattaSServiceResolver *resolver, CattaIfI c->outgoing->timeout = 0; if(c->outgoing->ev.cb) { - timeout_set(&mesh->loop, &c->outgoing->ev, &(struct timeval) { + timeout_set(&mesh->loop, &c->outgoing->ev, &(struct timespec) { 0, 0 }); }