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

Diff for /src/usr.bin/ssh/sftp.c between version 1.44 and 1.45

version 1.44, 2004/02/17 11:03:08 version 1.45, 2004/03/03 09:31:20
Line 46 
Line 46 
 static pid_t sshpid = -1;  static pid_t sshpid = -1;
   
 /* This is set to 0 if the progressmeter is not desired. */  /* This is set to 0 if the progressmeter is not desired. */
 int showprogress;  int showprogress = 1;
   
 int remote_glob(struct sftp_conn *, const char *, int,  int remote_glob(struct sftp_conn *, const char *, int,
     int (*)(const char *, int), glob_t *); /* proto for sftp-glob.c */      int (*)(const char *, int), glob_t *); /* proto for sftp-glob.c */
Line 1346 
Line 1346 
                         usage();                          usage();
                 }                  }
         }          }
   
           if (!isatty(STDERR_FILENO))
                   showprogress = 0;
   
         log_init(argv[0], ll, SYSLOG_FACILITY_USER, 1);          log_init(argv[0], ll, SYSLOG_FACILITY_USER, 1);
   

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45