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

Diff for /src/usr.bin/cvs/annotate.c between version 1.5 and 1.6

version 1.5, 2005/03/30 17:43:04 version 1.6, 2005/04/03 17:32:50
Line 104 
Line 104 
 cvs_annotate_sendflags(struct cvsroot *root)  cvs_annotate_sendflags(struct cvsroot *root)
 {  {
         if (usehead && (cvs_sendarg(root, "-f", 0) < 0))          if (usehead && (cvs_sendarg(root, "-f", 0) < 0))
                 return (EX_PROTOCOL);                  return (-1);
   
         if (rev != NULL) {          if (rev != NULL) {
                 if ((cvs_sendarg(root, "-r", 0) < 0) ||                  if ((cvs_sendarg(root, "-r", 0) < 0) ||
                     (cvs_sendarg(root, rev, 0) < 0))                      (cvs_sendarg(root, rev, 0) < 0))
                         return (EX_PROTOCOL);                          return (-1);
         }          }
   
         if (date != NULL) {          if (date != NULL) {
                 if ((cvs_sendarg(root, "-D", 0) < 0) ||                  if ((cvs_sendarg(root, "-D", 0) < 0) ||
                     (cvs_sendarg(root, date, 0) < 0))                      (cvs_sendarg(root, date, 0) < 0))
                         return (EX_PROTOCOL);                          return (-1);
         }          }
   
         return (0);          return (0);

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6