cf58a5
diff -Naur cyrus-imapd-2.3.1.orig/imap/backend.c cyrus-imapd-2.3.1/imap/backend.c
cf58a5
--- cyrus-imapd-2.3.1.orig/imap/backend.c	2005-02-25 07:46:14.000000000 +0100
cf58a5
+++ cyrus-imapd-2.3.1/imap/backend.c	2006-01-25 08:10:20.000000000 +0100
cf58a5
@@ -274,7 +274,7 @@
cf58a5
     /* need to (re)establish connection to server or create one */
cf58a5
     int sock = -1;
cf58a5
     int r;
cf58a5
-    int err;
cf58a5
+    int err = -1;
cf58a5
     struct addrinfo hints, *res0 = NULL, *res1 = NULL, *res;
cf58a5
     struct sockaddr_un sunsock;
cf58a5
     char buf[2048], *mechlist = NULL;