diff options
Diffstat (limited to 'plugins/t')
0 files changed, 0 insertions, 0 deletions
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c index 56be585..77ac5ce 100644 --- a/plugins/check_smtp.c +++ b/plugins/check_smtp.c | |||
@@ -521,7 +521,8 @@ process_arguments (int argc, char **argv) | |||
521 | localhostname = strdup(optarg); | 521 | localhostname = strdup(optarg); |
522 | break; | 522 | break; |
523 | case 'f': /* from argument */ | 523 | case 'f': /* from argument */ |
524 | from_arg = optarg; | 524 | from_arg = optarg + strspn(optarg, "<"); |
525 | from_arg = strndup(from_arg, strcspn(from_arg, ">")); | ||
525 | smtp_use_dummycmd = 1; | 526 | smtp_use_dummycmd = 1; |
526 | break; | 527 | break; |
527 | case 'A': | 528 | case 'A': |