~ubuntu-branches/ubuntu/maverick/curl/maverick

« back to all changes in this revision

Viewing changes to tests/libtest/lib541.c

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2008-06-18 15:21:57 UTC
  • mto: (3.1.1 lenny) (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 28.
  • Revision ID: james.westby@ubuntu.com-20080618152157-j8b12047aqcl6kii
Tags: upstream-7.18.2
ImportĀ upstreamĀ versionĀ 7.18.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 *                            | (__| |_| |  _ <| |___
6
6
 *                             \___|\___/|_| \_\_____|
7
7
 *
8
 
 * $Id: lib541.c,v 1.2 2007-10-02 16:05:28 yangtse Exp $
 
8
 * $Id: lib541.c,v 1.3 2008-05-22 21:49:53 danf Exp $
9
9
 */
10
10
 
11
11
#include "setup.h" /* struct_stat etc. */
89
89
  }
90
90
 
91
91
  /* enable uploading */
92
 
  curl_easy_setopt(curl, CURLOPT_UPLOAD, TRUE) ;
 
92
  curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L);
93
93
 
94
94
  /* enable verbose */
95
 
  curl_easy_setopt(curl, CURLOPT_VERBOSE, TRUE) ;
 
95
  curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
96
96
 
97
97
  /* specify target */
98
98
  curl_easy_setopt(curl,CURLOPT_URL, URL);