summaryrefslogtreecommitdiffstats
path: root/transfer
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-02-16 20:18:37 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-02-16 20:18:37 +0000
commit559a9a2ef363a2d9e81581f5846c59b0209c3575 (patch)
tree1348a65f7da583000bea0afed8a8bb839a704b6e /transfer
parentbc6af96cbd6f8b073c9049e812b6f4a082c66a81 (diff)
Add missing flags to g_io_add_watch calls
Diffstat (limited to 'transfer')
-rw-r--r--transfer/process.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/transfer/process.c b/transfer/process.c
index 39145f42..15bac918 100644
--- a/transfer/process.c
+++ b/transfer/process.c
@@ -74,7 +74,8 @@ int create_reader(uid_t uid, const char *pathname,
io = g_io_channel_unix_new(pfd[0]);
g_io_channel_set_close_on_unref(io, TRUE);
- g_io_add_watch(io, G_IO_IN, func, user_data);
+ g_io_add_watch(io, G_IO_IN | G_IO_ERR | G_IO_HUP, func,
+ user_data);
g_io_channel_unref(io);