minor fixes

This commit is contained in:
SJ 2013-08-03 12:57:35 +02:00
parent 05e7731e63
commit 20345baf7d
3 changed files with 4 additions and 2 deletions

2
configure vendored
View File

@ -1330,7 +1330,7 @@ Optional Features:
Optional Packages: Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-database[=mysql|psql] use either mysql or psql database for storing data (default: none) --with-database[=mysql] select the used database, currently mysql only (default: none)
--with-piler-user=username what user the piler daemon shall be run as --with-piler-user=username what user the piler daemon shall be run as
Some influential environment variables: Some influential environment variables:

View File

@ -184,7 +184,7 @@ fi
AC_ARG_WITH(database, AC_ARG_WITH(database,
[ --with-database[[=mysql|psql]] use either mysql or psql database for storing data (default: none)],[ [ --with-database[[=mysql]] select the used database, currently mysql only (default: none)],[
if test "$withval" != "no" -a "$withval" != "yes"; then if test "$withval" != "no" -a "$withval" != "yes"; then
DATABASE=$withval DATABASE=$withval
fi fi

View File

@ -114,6 +114,8 @@ int main(int argc, char **argv){
printf("spam: %d\n", sdata.spam_message); printf("spam: %d\n", sdata.spam_message);
if(sdata.internal_sender == 0 && sdata.internal_recipient == 0) printf("NOT IN mydomains\n");
printf("\n\n"); printf("\n\n");
close_database(&sdata); close_database(&sdata);