diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-08-17 18:59:49 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-08-17 18:59:49 +0200 |
| commit | e0b0da307a78b038045e2cb86934d60befd74339 (patch) | |
| tree | 9f8c5c23feb2c28122d9a58f321d323fdd4c75f0 /lib | |
| parent | 5135bed7aa5b7a5426c273cdf3db6f32536f698e (diff) | |
| download | abrt-e0b0da307a78b038045e2cb86934d60befd74339.tar.gz abrt-e0b0da307a78b038045e2cb86934d60befd74339.tar.xz abrt-e0b0da307a78b038045e2cb86934d60befd74339.zip | |
abrt_curl: better error msg if curl_formadd fails
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/utils/abrt_curl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils/abrt_curl.cpp b/lib/utils/abrt_curl.cpp index af3defca..b3041c1d 100644 --- a/lib/utils/abrt_curl.cpp +++ b/lib/utils/abrt_curl.cpp @@ -227,7 +227,7 @@ abrt_post(abrt_post_state_t *state, CURLFORM_END); if (curlform_err != 0) //FIXME: - error_msg_and_die("out of memory or read error"); + error_msg_and_die("out of memory or read error (curl_formadd error code: %d)", (int)curlform_err); xcurl_easy_setopt_ptr(handle, CURLOPT_HTTPPOST, post); } else { // .. from a blob in memory |
