summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-07-11 23:17:57 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-07-15 22:34:42 -0400
commit93c0969cf91c4e4973806181a6098b66a4e8e2f8 (patch)
treeee5ce818185cf4a946949290d0d8c4a8ee1eea6a
parenta8ca47227d1ab716ba928d8b9334b655ca5a840c (diff)
µhttp-util: fix compilation without gnutls
-rw-r--r--src/journal-remote/microhttpd-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal-remote/microhttpd-util.c b/src/journal-remote/microhttpd-util.c
index 53354938db..55c45f4693 100644
--- a/src/journal-remote/microhttpd-util.c
+++ b/src/journal-remote/microhttpd-util.c
@@ -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