diff options
author | Ian C <ianc@noddybox.co.uk> | 2003-12-07 01:46:44 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2003-12-07 01:46:44 +0000 |
commit | 787bb7625c9abc6b09efbc6bbe004a19d4b96166 (patch) | |
tree | 87b38cae639ced0b5a705a3d1e45d977ea419756 /src/kbs.c | |
parent | f1658930db64af8fecff9c8697592f676114409c (diff) |
Made RE compiled once and added memory release
Diffstat (limited to 'src/kbs.c')
-rw-r--r-- | src/kbs.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -142,10 +142,13 @@ int main(int argc, char *argv[]) Log(fp,"From %s@%s\n",msg[f].from_uname, msg[f].from_domain); Log(fp,"Subject %.40s\n",msg[f].subject); + Log(fp,"Reason %s\n",DBBlockReason()); } else { - Log(fp,"%s@%s\n",msg[f].from_uname,msg[f].from_domain); + Log(fp,"%s@%s (%s)\n",msg[f].from_uname, + msg[f].from_domain, + DBBlockReason()); } if (!ConfigInt(CONFIG_TESTMODE)) @@ -172,6 +175,9 @@ int main(int argc, char *argv[]) fclose(fp); } + DBClose(); + ConfigClose(); + return EXIT_SUCCESS; } |