diff options
Diffstat (limited to 'plugins/check_smtp.c')
| -rw-r--r-- | plugins/check_smtp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c index 324549d4..fd492294 100644 --- a/plugins/check_smtp.c +++ b/plugins/check_smtp.c | |||
| @@ -697,6 +697,8 @@ check_smtp_config_wrapper process_arguments(int argc, char **argv) { | |||
| 697 | } else { | 697 | } else { |
| 698 | usage2(_("Invalid hostname/address"), argv[c]); | 698 | usage2(_("Invalid hostname/address"), argv[c]); |
| 699 | } | 699 | } |
| 700 | } else { | ||
| 701 | result.config.server_address = strdup("localhost"); | ||
| 700 | } | 702 | } |
| 701 | } | 703 | } |
| 702 | 704 | ||
