If no ECONNRESET (Win32), use EIO instead.
authorTor Lillqvist <tml@novell.com>
Thu, 15 Sep 2005 22:24:27 +0000 (22:24 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Thu, 15 Sep 2005 22:24:27 +0000 (22:24 +0000)
2005-09-16  Tor Lillqvist  <tml@novell.com>

* camel-nntp-stream.c: If no ECONNRESET (Win32), use EIO instead.

camel/providers/nntp/ChangeLog
camel/providers/nntp/camel-nntp-stream.c

index 1a41323..384ef47 100644 (file)
@@ -1,3 +1,7 @@
+2005-09-16  Tor Lillqvist  <tml@novell.com>
+
+       * camel-nntp-stream.c: If no ECONNRESET (Win32), use EIO instead.
+
 2005-08-22  Not Zed  <NotZed@Ximian.com>
 
        * camel-nntp-stream.c (stream_read): cast print args to int.
index f340197..6951faa 100644 (file)
 
 #define dd(x) (camel_debug("nntp:stream")?(x):0)
 
+#ifndef ECONNRESET
+#define ECONNRESET EIO
+#endif
+
 static CamelObjectClass *parent_class = NULL;
 
 /* Returns the class for a CamelStream */