Browse Source

Fix warning on no return value from non-void function.

There was a warning at the end of addrinfo_td because it returns
a "void *" but had no return statement.  The fix was call pthread_exit().
master
Marq Schneider 14 years ago
parent
commit
2810f88532
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      btpd/addrinfo.c

+ 1
- 0
btpd/addrinfo.c View File

@@ -76,6 +76,7 @@ addrinfo_td(void *arg)
td_post(addrinfo_td_cb, ctx);
td_post_end();
}
pthread_exit(NULL);
}

static void


Loading…
Cancel
Save