View | Details | Raw Unified | Return to bug 10094
Collapse All | Expand All

(-)cyrus-imapd-2.2.13.old/imap/backend.c (-1 / +1 lines)
Lines 338-344 Link Here
338
	if (sock < 0)
338
	if (sock < 0)
339
	    continue;
339
	    continue;
340
        /* Bind to local interface. */
340
        /* Bind to local interface. */
341
        if (!err) {
341
        if (!err && res1) {
342
            if (bind(sock, res1->ai_addr, res1->ai_addrlen) < 0) {
342
            if (bind(sock, res1->ai_addr, res1->ai_addrlen) < 0) {
343
                struct sockaddr_in *local_sockaddr = (struct sockaddr_in *) res1->ai_addr;
343
                struct sockaddr_in *local_sockaddr = (struct sockaddr_in *) res1->ai_addr;
344
                syslog(LOG_ERR, "failed to bind to address %s: %s",
344
                syslog(LOG_ERR, "failed to bind to address %s: %s",

Return to bug 10094