~ubuntu-branches/ubuntu/lucid/curl/lucid-201101212007

« back to all changes in this revision

Viewing changes to tests/libtest/lib510.c

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2009-05-26 18:58:51 UTC
  • mfrom: (3.3.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090526185851-t1gun9nboi5kbd9u
Tags: 7.19.5-1ubuntu1
* Merge from Debian unstable (LP: #380281), remaining changes:
  - Drop build dependencies: stunnel, libdb4.6-dev, libssh2-1-dev
  - Add build-dependency on openssh-server
  - Drop libssh2-1-dev from libcurl4-openssl-dev's Depends.
  - Call automake-1.9 with --add-missing --copy --force
* Fixes LP: #379477

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 *                            | (__| |_| |  _ <| |___
6
6
 *                             \___|\___/|_| \_\_____|
7
7
 *
8
 
 * $Id: lib510.c,v 1.7 2008-09-20 04:26:57 yangtse Exp $
 
8
 * $Id: lib510.c,v 1.8 2009-05-08 02:14:50 yangtse Exp $
9
9
 */
10
10
 
11
11
#include "test.h"
78
78
  /* Now specify we want to POST data */
79
79
  curl_easy_setopt(curl, CURLOPT_POST, 1L);
80
80
 
 
81
#ifdef CURL_DOES_CONVERSIONS
 
82
  /* Convert the POST data to ASCII */
 
83
  curl_easy_setopt(curl, CURLOPT_TRANSFERTEXT, 1L);
 
84
#endif
 
85
 
81
86
  /* we want to use our own read function */
82
87
  curl_easy_setopt(curl, CURLOPT_READFUNCTION, read_callback);
83
88