[BACK]Return to catman.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/catman.c between version 1.17 and 1.18

version 1.17, 2017/02/09 18:46:44 version 1.18, 2017/02/09 20:53:33
Line 61  run_mandocd(int sockfd, const char *outtype, const cha
Line 61  run_mandocd(int sockfd, const char *outtype, const cha
         if (snprintf(sockfdstr, sizeof(sockfdstr), "%d", sockfd) == -1)          if (snprintf(sockfdstr, sizeof(sockfdstr), "%d", sockfd) == -1)
                 err(1, "snprintf");                  err(1, "snprintf");
         if (defos == NULL)          if (defos == NULL)
                 execlp("mandocd", "mandocd", "-T", outtype, sockfdstr, NULL);                  execlp("mandocd", "mandocd", "-T", outtype,
                       sockfdstr, (char *)NULL);
         else          else
                 execlp("mandocd", "mandocd", "-T", outtype,                  execlp("mandocd", "mandocd", "-T", outtype,
                     "-I", defos, sockfdstr, NULL);                      "-I", defos, sockfdstr, (char *)NULL);
         err(1, "exec");          err(1, "exec");
 }  }
   

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

CVSweb