summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2007-05-06 13:13:16 -0400
committerRay Strode <rstrode@redhat.com>2007-05-06 13:13:16 -0400
commite463e7515f4cef2714dc2ef3e172bd2689354133 (patch)
tree9ecec1bcf3a656eccdc7fbd1e8a91e2c44f79428
parentb0131ce58292cf3198054e8597e0c2762d6bb966 (diff)
use raw encoding on io channel so buffering can be disabled
-rw-r--r--src/pop-transaction.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pop-transaction.c b/src/pop-transaction.c
index 5938fcd..17258be 100644
--- a/src/pop-transaction.c
+++ b/src/pop-transaction.c
@@ -991,6 +991,7 @@ pop_transaction_wait_for_fd (PopTransaction *transaction,
pop_transaction_wait (transaction);
channel = g_io_channel_unix_new (fd);
+ g_io_channel_set_encoding (channel, NULL, NULL);
g_io_channel_set_buffered (channel, FALSE);
source = g_io_create_watch (channel, condition);
g_source_set_callback (source,