Returning undef is rarely the correct way to return a failure. Replace it with return 0 Signed-off-by: Bill Pemberton <wfp5p@xxxxxxxxxxxx> --- git-send-email.perl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/git-send-email.perl b/git-send-email.perl index cccbf45..4f62c59 100755 --- a/git-send-email.perl +++ b/git-send-email.perl @@ -1182,7 +1182,7 @@ sub validate_patch { return "$.: patch contains a line longer than 998 characters"; } } - return undef; + return 0; } sub file_has_nonascii { -- 1.6.0.6 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html