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

Diff for /src/usr.bin/cvs/version.c between version 1.1 and 1.2

version 1.1, 2004/07/13 22:02:40 version 1.2, 2004/07/28 01:57:16
Line 56 
Line 56 
   
   
         if ((cvs_root) && (cvs_root->cr_method != CVS_METHOD_LOCAL))          if ((cvs_root) && (cvs_root->cr_method != CVS_METHOD_LOCAL))
                 if (cvs_client_connect() < 0)                  if (cvs_client_connect(cvs_root) < 0)
                         return (1);                          return (1);
   
         if ((cvs_root) && (cvs_root->cr_method != CVS_METHOD_LOCAL)) {          if ((cvs_root) && (cvs_root->cr_method != CVS_METHOD_LOCAL)) {
                 printf("Server: ");                  printf("Server: ");
                 cvs_client_sendreq(CVS_REQ_VERSION, NULL, 1);                  cvs_client_sendreq(CVS_REQ_VERSION, NULL, 1);
                 cvs_client_disconnect();                  cvs_client_disconnect(cvs_root);
         }          }
   
         return (0);          return (0);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2