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

Diff for /src/usr.bin/oldrdist/Attic/server.c between version 1.27 and 1.28

version 1.27, 2004/10/04 05:21:27 version 1.28, 2005/04/13 02:33:08
Line 632 
Line 632 
                 if (*s != '\n') {                  if (*s != '\n') {
                         if (!iamremote) {                          if (!iamremote) {
                                 fflush(stdout);                                  fflush(stdout);
                                 (void) write(2, s, cp - s);                                  (void) write(STDERR_FILENO, s, cp - s);
                         }                          }
                         if (lfp != NULL)                          if (lfp != NULL)
                                 (void) fwrite(s, 1, cp - s, lfp);                                  (void) fwrite(s, 1, cp - s, lfp);
Line 1198 
Line 1198 
                         if (*s != '\n') {                          if (*s != '\n') {
                                 if (!iamremote) {                                  if (!iamremote) {
                                         fflush(stdout);                                          fflush(stdout);
                                         (void) write(2, s, cp - s);                                          (void) write(STDERR_FILENO, s, cp - s);
                                 }                                  }
                                 if (lfp != NULL)                                  if (lfp != NULL)
                                         (void) fwrite(s, 1, cp - s, lfp);                                          (void) fwrite(s, 1, cp - s, lfp);
Line 1547 
Line 1547 
                 if (*s != '\n') {                  if (*s != '\n') {
                         if (!iamremote) {                          if (!iamremote) {
                                 fflush(stdout);                                  fflush(stdout);
                                 (void) write(2, s, cp - s);                                  (void) write(STDERR_FILENO, s, cp - s);
                         }                          }
                         if (lfp != NULL)                          if (lfp != NULL)
                                 (void) fwrite(s, 1, cp - s, lfp);                                  (void) fwrite(s, 1, cp - s, lfp);

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28