~ubuntu-branches/ubuntu/raring/curl/raring-proposed

« back to all changes in this revision

Viewing changes to src/tool_easysrc.c

  • Committer: Package Import Robot
  • Author(s): Colin Watson
  • Date: 2012-10-31 06:51:15 UTC
  • mfrom: (3.4.32 sid)
  • Revision ID: package-import@ubuntu.com-20121031065115-9joe33a792sv19h1
Tags: 7.28.0-2ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - Drop dependencies not in main:
    + Build-Depends: Drop stunnel4 and libssh2-1-dev.
    + Drop libssh2-1-dev from binary package Depends.
  - Add new libcurl3-udeb package.
  - Add new curl-udeb package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
140
140
    const char *c;
141
141
    CHKRET(easysrc_add(&easysrc_code, ""));
142
142
    /* Preamble comment */
143
 
    for(i=0; ((c = srchard[i]) != '\0'); i++)
 
143
    for(i=0; ((c = srchard[i]) != NULL); i++)
144
144
      CHKRET(easysrc_add(&easysrc_code, c));
145
145
    /* Each unconverted option */
146
146
    for(ptr=easysrc_toohard; ptr; ptr = ptr->next)
185
185
      int i;
186
186
      const char *c;
187
187
 
188
 
      for(i=0; ((c = srchead[i]) != '\0'); i++)
 
188
      for(i=0; ((c = srchead[i]) != NULL); i++)
189
189
        fprintf(out, "%s\n", c);
190
190
 
191
191
      /* Declare variables used for complex setopt values */
213
213
      for(ptr=easysrc_clean; ptr; ptr = ptr->next)
214
214
        fprintf(out, "  %s\n", ptr->data);
215
215
 
216
 
      for(i=0; ((c = srcend[i]) != '\0'); i++)
 
216
      for(i=0; ((c = srcend[i]) != NULL); i++)
217
217
        fprintf(out, "%s\n", c);
218
218
 
219
219
      if(fopened)