[BACK]Return to message.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / rdist

Diff for /src/usr.bin/rdist/message.c between version 1.15 and 1.16

version 1.15, 2003/06/03 02:56:14 version 1.16, 2007/09/11 15:47:17
Line 517 
Line 517 
                 /*                  /*
                  * Ensure no stray newlines are present                   * Ensure no stray newlines are present
                  */                   */
                 if ((cp = strchr(msgbuf, '\n')) != NULL)                  msgbuf[strcspn(msgbuf, "\n")] = CNULL;
                         *cp = CNULL;  
   
                 checkhostname();                  checkhostname();
                 if (strncmp(currenthost, msgbuf, strlen(currenthost)) == 0)                  if (strncmp(currenthost, msgbuf, strlen(currenthost)) == 0)

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16