Lines Matching refs:code
87 CURLcode code;
98 code = curl_easy_setopt(conn, CURLOPT_ERRORBUFFER, errorBuffer);
99 if (code != CURLE_OK)
101 fprintf(stderr, "Failed to set error buffer [%d]\n", code);
106 code = curl_easy_setopt(conn, CURLOPT_URL, url);
107 if (code != CURLE_OK)
114 code = curl_easy_setopt(conn, CURLOPT_FOLLOWLOCATION, 1L);
115 if (code != CURLE_OK)
122 code = curl_easy_setopt(conn, CURLOPT_WRITEFUNCTION, writer);
123 if (code != CURLE_OK)
130 code = curl_easy_setopt(conn, CURLOPT_WRITEDATA, &buffer);
131 if (code != CURLE_OK)
269 CURLcode code;
294 code = curl_easy_perform(conn);
297 if (code != CURLE_OK)
304 // Parse the (assumed) HTML code