summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: fd909f8)
raw | patch | inline | side by side (parent: fd909f8)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 14 Jan 2007 20:12:15 +0000 (21:12 +0100) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sun, 14 Jan 2007 20:12:15 +0000 (21:12 +0100) |
src/network.c | patch | blob | history |
diff --git a/src/network.c b/src/network.c
index 5d5888046c79d8ea06cdb178836c0c9c32784303..5738d154e14ef30b74ddbabb27e13354e14bd777 100644 (file)
--- a/src/network.c
+++ b/src/network.c
static void *receive_thread (void *arg)
{
- return ((void *) network_receive ());
+ return (network_receive () ? (void *) 1 : (void *) 0);
} /* void *receive_thread */
#if 0