summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2007-10-26 03:43:14 +0000
committerStef Walter <stef@memberwebs.com>2007-10-26 03:43:14 +0000
commitf81457cf835cc6a1c79f104ea80bf6e50bf7e2ac (patch)
tree3c4cda2d650ede6821ac9e0bccfbbc82c173be92
parent899d91e7fe956341a805b3744037530afc6d210f (diff)
Fix uninitialized pid variable.
-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;