~ubuntu-branches/ubuntu/utopic/curl/utopic

« back to all changes in this revision

Viewing changes to src/tool_getparam.c

  • Committer: Package Import Robot
  • Author(s): Michael Vogt
  • Date: 2014-07-11 14:37:53 UTC
  • mfrom: (3.4.48 sid)
  • Revision ID: package-import@ubuntu.com-20140711143753-bdg0abifs1fa2wk1
Tags: 7.37.0-1ubuntu1
* Merge from Debian unstable.  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:
222
222
  {"G",  "get",                      FALSE},
223
223
  {"h",  "help",                     FALSE},
224
224
  {"H",  "header",                   TRUE},
 
225
  {"Hp", "proxy-header",             TRUE},
225
226
  {"i",  "include",                  FALSE},
226
227
  {"I",  "head",                     FALSE},
227
228
  {"j",  "junk-session-cookies",     FALSE},
1404
1405
      break;
1405
1406
    case 'H':
1406
1407
      /* A custom header to append to a list */
1407
 
      err = add2list(&config->headers, nextarg);
 
1408
      if(subletter == 'p') /* --proxy-header */
 
1409
        err = add2list(&config->proxyheaders, nextarg);
 
1410
      else
 
1411
        err = add2list(&config->headers, nextarg);
1408
1412
      if(err)
1409
1413
        return err;
1410
1414
      break;