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

Diff for /src/usr.bin/rdist/docmd.c between version 1.34 and 1.35

version 1.34, 2019/06/28 13:35:03 version 1.35, 2022/01/28 06:18:41
Line 344 
Line 344 
   
         /*          /*
          * For future compatibility we check to see if the server           * For future compatibility we check to see if the server
          * sent it's version number to us.  If it did, we use it,           * sent its version number to us.  If it did, we use it,
          * otherwise, we send our version number to the server and let           * otherwise, we send our version number to the server and let
          * it decide if it can handle our protocol version.           * it decide if it can handle our protocol version.
          */           */
Line 357 
Line 357 
                         return(0);                          return(0);
         } else {          } else {
                 /*                  /*
                  * The server sent it's version number to us                   * The server sent its version number to us
                  */                   */
                 int proto_version = atoi(&respbuff[1]);                  int proto_version = atoi(&respbuff[1]);
                 if (proto_version != VERSION) {                  if (proto_version != VERSION) {

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35