summaryrefslogtreecommitdiff
path: root/src/core/service.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2015-04-08 11:08:16 +0200
committerAndy Wingo <wingo@pobox.com>2015-04-08 11:08:16 +0200
commit7b061de2d0601a33f7246c4b909f30ddc44d7ab6 (patch)
tree6b6378f2b4a2499b274ca1fd8c154554635e8156 /src/core/service.c
parent679327ab991edd0a13a0cff335ea5c9c8a7ef705 (diff)
Compiling.
Diffstat (limited to 'src/core/service.c')
-rw-r--r--src/core/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/service.c b/src/core/service.c
index d9385504e..beaf21340 100644
--- a/src/core/service.c
+++ b/src/core/service.c
@@ -347,7 +347,7 @@ static int service_add_fd_store(Service *s, int fd) {
return 0;
LIST_FOREACH(fd_store, fs, s->fd_store) {
- r = same_fd(fs->fd, fd);
+ r = -EINVAL;
if (r < 0)
return r;
if (r > 0) {