diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2007-02-16 20:18:37 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2007-02-16 20:18:37 +0000 |
commit | 559a9a2ef363a2d9e81581f5846c59b0209c3575 (patch) | |
tree | 1348a65f7da583000bea0afed8a8bb839a704b6e /transfer | |
parent | bc6af96cbd6f8b073c9049e812b6f4a082c66a81 (diff) |
Add missing flags to g_io_add_watch calls
Diffstat (limited to 'transfer')
-rw-r--r-- | transfer/process.c | 3 |
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); |