Skip to content

Commit

Permalink
Don't log NULL, GitHub issue 78.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicm committed Apr 10, 2020
1 parent 17852bb commit eb3e84d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deliver-smtp.c
Expand Up @@ -234,5 +234,5 @@ deliver_smtp_desc(struct actitem *ti, char *buf, size_t len)

xsnprintf(buf, len, "smtp%s server \"%s\" port %s to \"%s\"",
data->server.ssl ? "s" : "", data->server.host, data->server.port,
data->to.str);
data->to.str == NULL ? "" : data->to.str);
}

0 comments on commit eb3e84d

Please sign in to comment.