aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-04-09 05:53:24 +0800
committerDan Winship <danw@src.gnome.org>2000-04-09 05:53:24 +0800
commit6beb74f53508f0f92ad5ed0fe7e823b6a5be76f3 (patch)
tree92a690bc8bb060c936f8922b311aa773f6b26a1a /camel/providers
parent15fa20706df89902469798f0da93d58d8c7f932b (diff)
downloadgsoc2013-evolution-6beb74f53508f0f92ad5ed0fe7e823b6a5be76f3.tar.gz
gsoc2013-evolution-6beb74f53508f0f92ad5ed0fe7e823b6a5be76f3.tar.zst
gsoc2013-evolution-6beb74f53508f0f92ad5ed0fe7e823b6a5be76f3.zip
actually record the pid returned by fork(). Noticed by clahey.
* providers/sendmail/camel-sendmail-transport.c (_send_internal): actually record the pid returned by fork(). Noticed by clahey. svn path=/trunk/; revision=2342
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/sendmail/camel-sendmail-transport.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/camel/providers/sendmail/camel-sendmail-transport.c b/camel/providers/sendmail/camel-sendmail-transport.c
index 2feefc4b21..15ba1f04e1 100644
--- a/camel/providers/sendmail/camel-sendmail-transport.c
+++ b/camel/providers/sendmail/camel-sendmail-transport.c
@@ -114,7 +114,8 @@ _send_internal (CamelMedium *message, char **argv, CamelException *ex)
sigaddset (&mask, SIGCHLD);
sigprocmask (SIG_BLOCK, &mask, &omask);
- switch (fork ()) {
+ pid = fork ();
+ switch (pid) {
case -1:
camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM,
"Could not fork sendmail: "