aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/daemon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/daemon.c')
-rw-r--r--src/daemon/daemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c
index 0abb74b0..24229793 100644
--- a/src/daemon/daemon.c
+++ b/src/daemon/daemon.c
@@ -58,7 +58,7 @@ MHD_register_handler(struct MHD_Daemon * daemon,
58 return MHD_NO; 58 return MHD_NO;
59 ah = ah->next; 59 ah = ah->next;
60 } 60 }
61 ah = malloc(sizeof(struct MHD_AccessHandler)); 61 ah = malloc(sizeof(struct MHD_Access_Handler));
62 ah->next = daemon->handlers; 62 ah->next = daemon->handlers;
63 ah->uri_prefix = strdup(uri_prefix); 63 ah->uri_prefix = strdup(uri_prefix);
64 ah->dh = dh; 64 ah->dh = dh;