diff options
author | Steve Holme <steve_holme@hotmail.com> | 2014-12-28 12:46:17 +0000 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2014-12-28 12:48:22 +0000 |
commit | 9459ee99ae748ebc21ed71a5f76e43a60f704c37 (patch) | |
tree | d2d864944f27fc22e40436259ebdf77e5f5f0538 /tests/libtest | |
parent | 29726951b084efaec7eb7a89d6ec9f2284840c4d (diff) |
test1520: Fixed compilation errors
Diffstat (limited to 'tests/libtest')
-rw-r--r-- | tests/libtest/lib1520.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/libtest/lib1520.c b/tests/libtest/lib1520.c index 77fab5c5f..bef1e1364 100644 --- a/tests/libtest/lib1520.c +++ b/tests/libtest/lib1520.c @@ -26,7 +26,7 @@ /* * This is the list of basic details you need to tweak to get things right. */ -#define TO "recipient@example.com>" +#define TO "<recipient@example.com>" #define FROM "<sender@example.com>" static const char *payload_text[] = { @@ -70,8 +70,10 @@ static size_t read_callback(void *ptr, size_t size, size_t nmemb, void *userp) int test(char *URL) { - CURLcode result; + CURLcode res; CURL *curl; + struct curl_slist *rcpt_list = NULL; + struct upload_status upload_ctx = {0}; if(curl_global_init(CURL_GLOBAL_ALL) != CURLE_OK) { fprintf(stderr, "curl_global_init() failed\n"); |