> > ---------------------------------------------------------------------- > > aaron - 30-Apr-06 20:48 > > ---------------------------------------------------------------------- > > The common server config portions are now in SVN. The patch implements > > the config file reading of multiple IP's, binding to multiple sockets and > > running select to see which one has received a connection. > > For a moment you freaked me out there! Thought you meant you had > implemented a select framework. Phew.
I downloaded rev-2096. Running make I get: gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -DSIEVE -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/local/include/gmime-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -W -Wall -Wpointer-arith -Wstrict-prototypes -MT libdbmail_la-server.lo -MD -MP -MF .deps/libdbmail_la-server.Tpo -c server.c -fPIC -DPIC -o .libs/libdbmail_la-server.o server.c: In function `CreateSocket': server.c:405: warning: passing arg 1 of `create_inet_socket' from incompatible pointer type server.c:405: error: too few arguments to function `create_inet_socket' I change line 405 of server.c: - conf->listenSocket = create_inet_socket(conf); + conf->listenSocket = create_inet_socket(conf->ip,conf->port,conf->backlog); and get no errors. -- Oleg Lapshin
