Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 629684 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-3 / +12 lines)
Line  Link Here
0
-- a/common/smtppass.c 2017-10-13 16:48:24.662028054 +0200
0
++ b/common/smtppass.c 2017-10-13 17:39:57.075904361 +0200
Lines 40-50 Link Here
40
#define _GNU_SOURCE
40
#define _GNU_SOURCE
41
#include "config.h"
42
41
#include <sys/time.h>
43
#include <sys/time.h>
42
#include <sys/types.h>
44
#include <sys/types.h>
43
#include <sys/socket.h>
44
#include <sys/param.h>
45
#include <sys/param.h>
45
#include <sys/stat.h>
46
#include <sys/stat.h>
47
#include <sys/socket.h>
48
49
#include <netinet/in.h>
46
#include <ctype.h>
50
#include <ctype.h>
47
#include <stdlib.h>
51
#include <stdlib.h>
Lines 61-67 Link Here
61
#include "usuals.h"
65
#include "usuals.h"
62
#ifdef LINUX_TRANSPARENT_PROXY
66
#ifdef LINUX_TRANSPARENT_PROXY
67
#include <linux/types.h>
63
#include <linux/netfilter_ipv4.h>
68
#include <linux/netfilter_ipv4.h>
69
#ifdef HAVE_INET6
70
#include <linux/if.h>
71
#include <linux/netfilter_ipv6/ip6_tables.h>
72
#endif
64
#endif
73
#endif
65
#include "compat.h"
74
#include "compat.h"
Lines 727-733 Link Here
727
        thread->fd = -1;
736
        thread->fd = -1;
728
    sp_unlock();
737
    sp_unlock();
729
    return (void*)(ret == 0 ? 0 : 1);
738
    return (void*)(ret == 0 ? (size_t)0 : (size_t)1);
730
}
739
}
731
static int make_connections(spctx_t* ctx, int client)
740
static int make_connections(spctx_t* ctx, int client)

Return to bug 629684