summaryrefslogtreecommitdiff
path: root/lib/libalpm/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/error.c')
-rw-r--r--lib/libalpm/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/error.c b/lib/libalpm/error.c
index cf98cc75..dcf26074 100644
--- a/lib/libalpm/error.c
+++ b/lib/libalpm/error.c
@@ -142,7 +142,7 @@ const char SYMEXPORT *alpm_strerror(int err)
return _("libarchive error");
case PM_ERR_LIBCURL:
#ifdef HAVE_LIBCURL
- return(curl_easy_strerror(handle->curlerr));
+ return curl_easy_strerror(handle->curlerr);
#else
/* obviously shouldn't get here... */
return _("download library error");