projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* I had alphabetized the --configure options in the --help output
[mmh]
/
mts
/
sendmail
/
sendmail.c
diff --git
a/mts/sendmail/sendmail.c
b/mts/sendmail/sendmail.c
index
1ff4138
..
546097c
100644
(file)
--- a/
mts/sendmail/sendmail.c
+++ b/
mts/sendmail/sendmail.c
@@
-9,6
+9,7
@@
#include <mts/smtp/smtp.h>
#include <zotnet/mts/mts.h>
#include <signal.h>
#include <mts/smtp/smtp.h>
#include <zotnet/mts/mts.h>
#include <signal.h>
+#include "h/signals.h" /* for SIGNAL() */
#ifdef MPOP
#include <errno.h>
#endif
#ifdef MPOP
#include <errno.h>
#endif
@@
-112,11
+113,12
@@
sm_init (char *client, char *server, int watch, int verbose,
if (sm_rfp != NULL && sm_wfp != NULL)
return RP_OK;
if (sm_rfp != NULL && sm_wfp != NULL)
return RP_OK;
- if (client == NULL || *client == '\0')
+ if (client == NULL || *client == '\0') {
if (clientname)
client = clientname;
else
client = LocalName(); /* no clientname -> LocalName */
if (clientname)
client = clientname;
else
client = LocalName(); /* no clientname -> LocalName */
+ }
#ifdef ZMAILER
if (client == NULL || *client == '\0')
#ifdef ZMAILER
if (client == NULL || *client == '\0')