summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog1
-rw-r--r--src/proxsmtpd.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b4ae706..aeee25a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
1.8
- Send an RSET to the server after filter fails an email.
+ - Fix an uninitialized pid variable.
1.7 [2007-05-28]
- Use my real name 'Stef Walter'
diff --git a/src/proxsmtpd.c b/src/proxsmtpd.c
index ffccf71..7b7430f 100644
--- a/src/proxsmtpd.c
+++ b/src/proxsmtpd.c
@@ -437,7 +437,7 @@ cleanup:
static int process_file_command(spctx_t* sp)
{
- pid_t pid;
+ pid_t pid = 0;
int ret = 0, status, r;
struct timeval timeout;