~ubuntu-branches/debian/wheezy/apt-dater/wheezy

« back to all changes in this revision

Viewing changes to src/stats.c

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2011-09-27 19:27:05 UTC
  • mfrom: (1.1.15 upstream)
  • Revision ID: package-import@ubuntu.com-20110927192705-v1zoaomudv6t6rka
Tags: 0.8.6-1
* New upstream release.
  - Use merged apt-dater-host.1 manpage.
  - Remove all patches, they have been merged with this upstream release.
  - Fixed FTBFS.
    Closes: #642696
* Do not recommend aptitude anymore.
* Wrap debian/control lines.
* Add 01-fix-locale-ftbfs.diff to fix another FTBFS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* apt-dater - terminal-based remote package update manager
2
2
 *
3
 
 * $Id: stats.c 432 2009-12-09 18:44:42Z liske $
 
3
 * $Id: stats.c 582 2011-09-27 13:45:43Z ellguth $
4
4
 *
5
5
 * Authors:
6
6
 *   Andre Ellguth <ellguth@ibh.de>
96
96
    if(iostatus == G_IO_STATUS_ERROR || iostatus == G_IO_STATUS_AGAIN)
97
97
     break;
98
98
 
99
 
    fwrite(buf, sizeof(gchar), bytes, ((HostNode *) n)->fpstat);
 
99
    if(fwrite(buf, sizeof(gchar), bytes, ((HostNode *) n)->fpstat) != bytes)
 
100
        break;
100
101
 
101
102
    r = TRUE;
102
103
   }