lkml.org 
[lkml]   [2009]   [May]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 08/18] scripts/get_maintainer.pl - Don't print maintainers when not requested
    Date
    Fixed bug introduced after using rfc822 address checking.

    Signed-off-by: Joe Perches <joe@perches.com>
    ---
    scripts/get_maintainer.pl | 10 ++++++----
    1 files changed, 6 insertions(+), 4 deletions(-)

    diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl
    index 33872c7..9de864f 100755
    --- a/scripts/get_maintainer.pl
    +++ b/scripts/get_maintainer.pl
    @@ -436,10 +436,12 @@ sub push_email_address {
    $email_address = $2;
    }

    - if ($email_usename && $email_name) {
    - push(@email_to, format_email($email_name, $email_address));
    - } else {
    - push(@email_to, $email_address);
    + if ($email_maintainer) {
    + if ($email_usename && $email_name) {
    + push(@email_to, format_email($email_name, $email_address));
    + } else {
    + push(@email_to, $email_address);
    + }
    }
    }

    --
    1.6.3.1.10.g659a0.dirty


    \
     
     \ /
      Last update: 2009-05-24 04:45    [W:0.019 / U:59.440 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site