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

Diff for /src/usr.bin/cvs/Attic/proto.c between version 1.41 and 1.42

version 1.41, 2005/03/04 18:36:57 version 1.42, 2005/03/13 19:52:26
Line 735 
Line 735 
                         fputs(cvs_proto_buf, cvs_server_outlog);                          fputs(cvs_proto_buf, cvs_server_outlog);
   
                 if ((len = strlen(cvs_proto_buf)) != 0) {                  if ((len = strlen(cvs_proto_buf)) != 0) {
                         if (cvs_proto_buf[len - 1] != '\n') {                          /* if len - 1 != '\n' the line is truncated */
                                 /* truncated line */                          if (cvs_proto_buf[len - 1] == '\n') {
                         } else  
                                 cvs_proto_buf[--len] = '\0';                                  cvs_proto_buf[--len] = '\0';
                 }                  }
   

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42