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

Diff for /src/usr.bin/ssh/scp.c between version 1.135 and 1.136

version 1.135, 2006/02/22 00:04:44 version 1.136, 2006/03/16 10:31:45
Line 1092 
Line 1092 
         va_list ap;          va_list ap;
   
         ++errs;          ++errs;
         if (fp == NULL && !(fp = fdopen(remout, "w")))          if (fp != NULL || (remout != -1 && (fp = fdopen(remout, "w")))) {
                 return;                  (void) fprintf(fp, "%c", 0x01);
         (void) fprintf(fp, "%c", 0x01);                  (void) fprintf(fp, "scp: ");
         (void) fprintf(fp, "scp: ");                  va_start(ap, fmt);
         va_start(ap, fmt);                  (void) vfprintf(fp, fmt, ap);
         (void) vfprintf(fp, fmt, ap);                  va_end(ap);
         va_end(ap);                  (void) fprintf(fp, "\n");
         (void) fprintf(fp, "\n");                  (void) fflush(fp);
         (void) fflush(fp);          }
   
         if (!iamremote) {          if (!iamremote) {
                 va_start(ap, fmt);                  va_start(ap, fmt);

Legend:
Removed from v.1.135  
changed lines
  Added in v.1.136