~ubuntu-branches/ubuntu/precise/curl/precise-proposed

« back to all changes in this revision

Viewing changes to lib/mprintf.c

  • Committer: Package Import Robot
  • Author(s): Timo Aaltonen
  • Date: 2011-11-25 17:30:45 UTC
  • mfrom: (3.4.23 sid)
  • Revision ID: package-import@ubuntu.com-20111125173045-2l3ni88jv16kath0
Tags: 7.22.0-3ubuntu1
* Merge from Debian unstable, remaining changes:
  - Drop dependencies not in main:
    + Build-Depends: Drop stunnel4 and libssh2-1-dev.
    + Drop libssh2-1-dev from libcurl4-openssl-dev's Depends.
  - Add new libcurl3-udeb package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
 */
37
37
 
38
38
#include "setup.h"
39
 
#include <stdio.h>
40
 
#include <stdlib.h>
41
 
#include <stdarg.h>
42
 
#include <ctype.h>
43
 
#include <string.h>
44
39
 
45
40
#if defined(DJGPP) && (DJGPP_MINOR < 4)
46
41
#undef _MPRINTF_REPLACE /* don't use x_was_used() here */
108
103
      done++; \
109
104
    else \
110
105
     return done; /* return immediately on failure */ \
111
 
  } while(0)
 
106
  } WHILE_FALSE
112
107
 
113
108
/* Data type to read from the arglist */
114
109
typedef enum  {