2005-09-15 Tor Lillqvist <tml@novell.com>
* camel-imap-wrapper.c: If no ENETUNREACH (Win32), use EINVAL.
IMAP servers is not supported on Win32 (at least for now), so
bypass that code.
+ * camel-imap-wrapper.c: If no ENETUNREACH (Win32), use EINVAL.
+
2005-08-23 Shreyas Srinivasan <sshreyas@novell.com>
** See #314199
imap_wrapper->part_spec, FALSE, NULL);
if (!datastream) {
CAMEL_IMAP_WRAPPER_UNLOCK (imap_wrapper, lock);
+#ifdef ENETUNREACH
errno = ENETUNREACH;
+#else
+#warning FIXME: what errno to use if no ENETUNREACH
+ errno = EINVAL;
+#endif
return -1;
}