summaryrefslogtreecommitdiff
path: root/lib/libalpm/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/server.c')
-rw-r--r--lib/libalpm/server.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libalpm/server.c b/lib/libalpm/server.c
index b9182a02..1b629a81 100644
--- a/lib/libalpm/server.c
+++ b/lib/libalpm/server.c
@@ -76,10 +76,8 @@ pmserver_t *_alpm_server_new(const char *url)
return server;
}
-void _alpm_server_free(void *data)
+void _alpm_server_free(pmserver_t *server)
{
- pmserver_t *server = data;
-
ALPM_LOG_FUNC;
if(server == NULL) {