On Friday 07 June 2013 10:12:37 Paul J Stevens wrote:
> - Log -----------------------------------------------------------------
> commit 8e1588779b3e944a9d7124515d468c13a9f2eb67
> Author: Paul J Stevens <p...@nfg.nl>
> Date:   Fri Jun 7 09:28:19 2013 +0200
> 
>     make printf of long ints portable
> 
> -----------------------------------------------------------------------

Looks good on FreeBSD, attached is a patch (server.diff) to get ssl working.  
There are a few warnings that appear innocuous, dm_getguid appears unused - 
errors at dm_misc.c:639.

Testing this afternoon has gone well.

Many thanks for your time on dbmail,
Alan
diff --git a/src/server.c b/src/server.c
index 2464fd5..a0a64c3 100644
--- a/src/server.c
+++ b/src/server.c
@@ -803,7 +803,7 @@ int server_run(ServerConfig_T *conf)
 			for (k = i, i = 0; i < conf->ssl_socketcount; i++, k++) {
 				TRACE(TRACE_DEBUG, "Adding event for ssl socket [%d] [%d/%d]", conf->ssl_listenSockets[i], k+1, total);
 				evsock[k] = event_new(evbase, conf->ssl_listenSockets[i], EV_READ, server_sock_ssl_cb, NULL);
-				event_assign(evsock[k], evbase, conf->listenSockets[i], EV_READ, server_sock_cb, evsock[k]);
+				event_assign(evsock[k], evbase, conf->ssl_listenSockets[i], EV_READ, server_sock_ssl_cb, evsock[k]);
 				event_add(evsock[k], NULL);
 			}
 		}
checking maximum warning verbosity option...  for C++ -W -Wall -Wpointer-arith 
-Wstrict-prototypes for C

authldap.c:108: warning: 'g_static_private_init' is deprecated (declared at 
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:243)

authldap.c:118: warning: 'g_static_private_get' is deprecated (declared at 
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:246)

authldap.c:121: warning: 'g_static_private_get' is deprecated (declared at 
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:246)

authldap.c:172: warning: 'g_thread_init' is deprecated (declared at 
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:260)

authldap.c:212: warning: 'g_static_private_set' is deprecated (declared at 
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:251)

authldap.c:594: warning: 'g_static_private_free' is deprecated (declared at 
/usr/local/include/glib-2.0/glib/deprecated/gthread.h:254)

authldap.c:1296: warning: passing argument 2 of '__auth_get_every_match' from 
incompatible pointer type

dbmail-message.c:799: warning: format '%ld' expects type 'long int', but 
argument 7 has type 'time_t'

dbmail-message.c:2647: warning: the address of 'val' will always evaluate as 
'true'

dbmail-message.c:2649: warning: the address of 'val' will always evaluate as 
'true'

dm_misc.c:639: warning: format '%ld' expects type 'long int', but argument 4 
has type 'time_t'

dm_misc.c:639: warning: format '%ld' expects type 'long int', but argument 4 
has type 'time_t'

dm_misc.c:2301: warning: the address of 'hash_algorithm' will always evaluate 
as 'true'

dm_misc.c:2303: warning: the address of 'hash_algorithm' will always evaluate 
as 'true'

dm_misc.c:2305: warning: the address of 'hash_algorithm' will always evaluate 
as 'true'

dm_misc.c:2307: warning: the address of 'hash_algorithm' will always evaluate 
as 'true'

dm_misc.c:2309: warning: the address of 'hash_algorithm' will always evaluate 
as 'true'

dm_misc.c:2311: warning: the address of 'hash_algorithm' will always evaluate 
as 'true'

dm_string.c:154: warning: comparison of unsigned expression >= 0 is always true

.../src/mpool/mpool.c:59: warning: 'version' defined but not used

clientbase.c:354: warning: format '%ld' expects type 'long int', but argument 7 
has type 'time_t'

authmodule.c:163: warning: passing argument 2 of 'auth->validate' discards 
qualifiers from pointer target type

authmodule.c:163: warning: passing argument 3 of 'auth->validate' discards 
qualifiers from pointer target type

/usr/home/alan/projects/dbmail/work/dbmail-3.0.2/src/sievecmd.c:350: warning: 
warning: tempnam() possibly used unsafely; consider using mkstemp()

_______________________________________________
Dbmail-dev mailing list
Dbmail-dev@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail-dev

Reply via email to