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

Diff for /src/usr.bin/rdist/client.c between version 1.25 and 1.26

version 1.25, 2012/11/12 01:18:37 version 1.26, 2013/08/18 16:32:24
Line 256 
Line 256 
                                         return;                                          return;
                                 first = FALSE;                                  first = FALSE;
                         }                          }
                         (void) sendcmd(RC_FILE, f->n_name);                          (void) sendcmd(RC_FILE, "%s", f->n_name);
                         if (response() < 0)                          if (response() < 0)
                                 return;                                  return;
                 }                  }
Line 267 
Line 267 
                         first = FALSE;                          first = FALSE;
                 }                  }
                 /* Send command to run and wait for it to complete */                  /* Send command to run and wait for it to complete */
                 (void) sendcmd(RC_COMMAND, sc->sc_name);                  (void) sendcmd(RC_COMMAND, "%s", sc->sc_name);
                 while (response() > 0)                  while (response() > 0)
                         ;                          ;
                 first = TRUE;   /* Reset in case there are more CMDSPECIAL's */                  first = TRUE;   /* Reset in case there are more CMDSPECIAL's */

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26