~ubuntu-branches/ubuntu/edgy/dovecot/edgy-updates

« back to all changes in this revision

Viewing changes to src/lib/failures.c

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-07-07 10:04:42 UTC
  • mfrom: (1.10.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060707100442-3oixipbdffprdybm
Tags: 1.0.rc2-1ubuntu1
Merge from debian unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
                fputs(format, f);
94
94
        } else {
95
95
                write_prefix(f);
96
 
 
97
96
                fputs(prefix, f);
 
97
 
 
98
                /* write may have failed, restore errno so %m works. although
 
99
                   it probably can't write the error then anyway. */
 
100
                errno = old_errno;
 
101
 
98
102
                /* make sure there's no %n in there and fix %m */
99
103
                (void)printf_string_upper_bound(&format, args);
100
104
                vfprintf(f, format, args2);