From e8eafaaa2e78da061d86a3ed20708de635cad023 Mon Sep 17 00:00:00 2001 From: "ted.mielczarek" Date: Mon, 3 Dec 2007 22:12:25 +0000 Subject: slight fixup from issue 225 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@234 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/common/linux/http_upload.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/linux/http_upload.cc b/src/common/linux/http_upload.cc index ea68123e..8748d117 100644 --- a/src/common/linux/http_upload.cc +++ b/src/common/linux/http_upload.cc @@ -137,9 +137,9 @@ bool HTTPUpload::SendRequest(const string &url, CURLcode (*curl_easy_perform)(CURL *); *(void**) (&curl_easy_perform) = dlsym(curl_lib, "curl_easy_perform"); err_code = (*curl_easy_perform)(curl); -#ifndef NDEBUG const char* (*curl_easy_strerror)(CURLcode); *(void**) (&curl_easy_strerror) = dlsym(curl_lib, "curl_easy_strerror"); +#ifndef NDEBUG if (err_code != CURLE_OK) fprintf(stderr, "Failed to send http request to %s, error: %s\n", url.c_str(), -- cgit v1.2.1