11428 sendmail: NULL pointer errors

Review Request #2146 - Created July 11, 2019 and submitted

Information
Toomas Soome
illumos-gate
11428
6345e7c...
Reviewers
general
mailcompat.c: In function 'getfrom':
mailcompat.c:159:32: error: comparison between pointer and integer [-Werror]
      strncmp(line, "From ", 5) != NULL)
                                ^~

vacation.c: In function 'getfrom':
vacation.c:385:32: error: comparison between pointer and integer [-Werror]
      strncmp(line, "From ", 5) != NULL)
                                ^~
cc1: all warnings being treated as errors

  
Andy Fiddaman
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...