chiark / gitweb /
µhttp-util: fix compilation without gnutls
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 12 Jul 2014 03:17:57 +0000 (23:17 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 16 Jul 2014 02:34:42 +0000 (22:34 -0400)
src/journal-remote/microhttpd-util.c

index 53354938db392e77a6ae3b6f94c229aaf384c038..55c45f46939ce3eaea739e76515b9737fe7f15e5 100644 (file)
@@ -297,7 +297,7 @@ int check_permissions(struct MHD_Connection *connection, int *code, char **hostn
 }
 
 #else
-int check_permissions(struct MHD_Connection *connection, int *code) {
+int check_permissions(struct MHD_Connection *connection, int *code, char **hostname) {
         return -EPERM;
 }
 #endif