Fix a segfault.
from maintainer Antoine Jacoutot <ajacoutot at lphp dot org> ok alek
This commit is contained in:
parent
fdd754bd42
commit
2aa21c3965
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2006/08/03 13:09:09 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2006/09/22 09:08:24 jasper Exp $
|
||||
|
||||
COMMENT= "Cyrus IMAP server"
|
||||
COMMENT-perl= "perl utils for the Cyrus IMAP server"
|
||||
|
||||
V= 2.2.13
|
||||
DISTNAME= cyrus-imapd-${V}
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
FULLPKGNAME-perl=cyrus-imapd-perl-${V}
|
||||
CATEGORIES= mail
|
||||
HOMEPAGE= http://cyrusimap.web.cmu.edu
|
||||
|
12
mail/cyrus-imapd/patches/patch-imap_backend_c
Normal file
12
mail/cyrus-imapd/patches/patch-imap_backend_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-imap_backend_c,v 1.1 2006/09/22 09:08:24 jasper Exp $
|
||||
--- imap/backend.c.orig Sun Sep 17 16:40:12 2006
|
||||
+++ imap/backend.c Sun Sep 17 16:40:45 2006
|
||||
@@ -271,7 +271,7 @@ struct backend *backend_connect(struct b
|
||||
/* need to (re)establish connection to server or create one */
|
||||
int sock = -1;
|
||||
int r;
|
||||
- int err = 0;
|
||||
+ int err = -1;
|
||||
struct addrinfo hints, *res0 = NULL, *res1 = NULL, *res;
|
||||
struct sockaddr_un sunsock;
|
||||
char buf[2048], *mechlist = NULL;
|
Loading…
Reference in New Issue
Block a user