X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=mts%2Fsendmail%2Fsendmail.c;h=05f8c33f0b2a9ad18d0aa63a4847c4760af23edd;hp=1ff41387ad26b309f710bd65904012cd45998718;hb=3c9700d8d045f3ff26ce5dd2a174454dafc14822;hpb=8f8d299c72fdf8105947681d459dde45eda94e9d diff --git a/mts/sendmail/sendmail.c b/mts/sendmail/sendmail.c index 1ff4138..05f8c33 100644 --- a/mts/sendmail/sendmail.c +++ b/mts/sendmail/sendmail.c @@ -112,11 +112,12 @@ sm_init (char *client, char *server, int watch, int verbose, 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 */ + } #ifdef ZMAILER if (client == NULL || *client == '\0')