560be0ecd2
Re-packaged source, no new features.
13 lines
483 B
Text
13 lines
483 B
Text
$NetBSD: patch-ae,v 1.5 2006/03/04 06:34:13 wiz Exp $
|
|
|
|
--- src/core/network.c.orig 2005-11-19 23:45:08.000000000 +0100
|
|
+++ src/core/network.c
|
|
@@ -373,7 +373,7 @@ int net_transmit(GIOChannel *handle, con
|
|
|
|
err = g_io_channel_write(handle, (char *) data, len, &ret);
|
|
if (err == G_IO_ERROR_AGAIN ||
|
|
- (err != 0 && (errno == EINTR || errno == EPIPE)))
|
|
+ (err != 0 && (errno == EINTR || errno == EPIPE || errno == ENOTCONN)))
|
|
return 0;
|
|
|
|
return err == 0 ? (int)ret : -1;
|