[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.19 and 1.20

version 1.19, 2006/01/02 08:11:56 version 1.20, 2006/04/14 02:45:35
Line 53 
Line 53 
 static int  static int
 cvs_version_pre_exec(struct cvsroot *root)  cvs_version_pre_exec(struct cvsroot *root)
 {  {
         if ((root != NULL) && (root->cr_method != CVS_METHOD_LOCAL))          if (root != NULL && root->cr_method != CVS_METHOD_LOCAL)
                 printf("Client: ");                  printf("Client: ");
         cvs_printf("%s\n", CVS_VERSION);          cvs_printf("%s\n", CVS_VERSION);
   
         if ((root != NULL) && (root->cr_method != CVS_METHOD_LOCAL)) {          if (root != NULL && root->cr_method != CVS_METHOD_LOCAL) {
                 cvs_printf("Server: %s\n", root->cr_version == NULL ?                  cvs_printf("Server: %s\n", root->cr_version == NULL ?
                     "(unknown)" : root->cr_version);                      "(unknown)" : root->cr_version);
         }          }

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20