~elfy/ubuntu/vivid/zsync/spelling-fix

« back to all changes in this revision

Viewing changes to client.c

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2007-02-26 13:54:45 UTC
  • Revision ID: james.westby@ubuntu.com-20070226135445-kxgtfvr422r0z2h0
Tags: 0.5-1ubuntu2
print progress even if output is not a tty. This makes it 
possible to gather statistics for a experimental apt-get method

Show diffs side-by-side

added added

removed removed

Lines of Context:
341
341
    fprintf(stderr,"Usage: zsync http://example.com/some/filename.zsync\n");
342
342
    exit(3);
343
343
  }
344
 
  if (!isatty(0)) no_progress = 1;
 
344
  //if (!isatty(0)) no_progress = 1;
345
345
  {
346
346
    char *pr = getenv("http_proxy");
347
347
    if (pr != NULL) set_proxy_from_string(pr);