diff options
author | Stef Walter <stef@memberwebs.com> | 2004-10-30 15:32:03 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2004-10-30 15:32:03 +0000 |
commit | 4dd6bc77d6e798720d23ac8ec7e31738de3b8106 (patch) | |
tree | 80e088e570410a1d855ac8e6027f117653383c82 | |
parent | cda7124d4b87c5f56d0ee90be20a9378e60ae065 (diff) |
Print out version in debug logs
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | common/smtppass.c | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -1,6 +1,7 @@ 0.6 - Added CLIENT and SERVER variables to VirusAction script environment. - Even better logging for network errors. + - Print out proxsmtp version in debug logs 0.5 - Added sample scripts. diff --git a/common/smtppass.c b/common/smtppass.c index 88cfafd..93bc9cb 100644 --- a/common/smtppass.c +++ b/common/smtppass.c @@ -200,6 +200,8 @@ void sp_init(const char* name) memset(&g_state, 0, sizeof(g_state)); + sp_message(NULL, LOG_DEBUG, "%s (%s)", name, VERSION); + /* Setup the defaults */ g_state.debug_level = -1; g_state.max_threads = DEFAULT_MAXTHREADS; |