com php-src: remove useless condition: ext/mbstring/mbstring.c

From: Date: Fri, 19 Sep 2014 08:09:37 +0000
Subject: com php-src: remove useless condition: ext/mbstring/mbstring.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-81759@lists.php.net to get a copy of this message
Commit: bae92295fd7bf54b8b3e8440c1ce705e6e5e2119 Author: Anatol Belski <ab@php.net> Fri, 19 Sep 2014 10:09:37 +0200 Parents: c80d9ccf7a6e0649adee5498df6ddba8d0891e0b Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bae92295fd7bf54b8b3e8440c1ce705e6e5e2119 Log: remove useless condition Changed paths: M ext/mbstring/mbstring.c Diff: diff --git a/ext/mbstring/mbstring.c b/ext/mbstring/mbstring.c index 615381e..ea76e53 100644 --- a/ext/mbstring/mbstring.c +++ b/ext/mbstring/mbstring.c @@ -4195,7 +4195,7 @@ PHP_FUNCTION(mb_send_mail) } /* Subject: */ - if (subject != NULL && subject_len >= 0) { + if (subject != NULL) { orig_str.no_language = MBSTRG(language); orig_str.val = (unsigned char *)subject; orig_str.len = subject_len;

« previous php.cvs (#81759) next »