andihofmeister/squidGuard — pull request #1 by ccesario (2012-08-06 13:23:20+00:00)
Title: Fix check DB version

Prevents this error in compile process

gcc -Wall -Werror -g -O2 -I/usr/local/include/db4 -I/usr/include -DDEFAULT_CONFIGFILE="\"/usr/local/etc/squid/squidGuard.conf\"" -DEFAULT_LOGDIR="\"/var/log\"" -DDEFAULT_DBHOME="\"/var/db/squidGuard\"" -Wall -c sgDb.c
sgDb.c: In function 'sgDbInit':
sgDb.c:192: error: incompatible type for argument 4 of 'Db->dbp->open'
sgDb.c:192: error: too many arguments to function 'Db->dbp->open'
sgDb.c:197: error: incompatible type for argument 4 of 'Db->dbp->open'
sgDb.c:197: error: too many arguments to function 'Db->dbp->open'
*** Error code 1