aboutsummaryrefslogtreecommitdiff
path: root/src/daemon/postprocessor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/daemon/postprocessor.c')
-rw-r--r--src/daemon/postprocessor.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/daemon/postprocessor.c b/src/daemon/postprocessor.c
index b93816ee..9be5e68f 100644
--- a/src/daemon/postprocessor.c
+++ b/src/daemon/postprocessor.c
@@ -1062,6 +1062,13 @@ MHD_destroy_post_processor (struct MHD_PostProcessor *pp)
1062 1062
1063 if (NULL == pp) 1063 if (NULL == pp)
1064 return MHD_YES; 1064 return MHD_YES;
1065 if (PP_ProcessValue == pp->state)
1066 {
1067 /* key without terminated value left at the end of the
1068 buffer; fake receiving a termination character to
1069 ensure it is also processed */
1070 post_process_urlencoded (pp, "\n", 1);
1071 }
1065 /* These internal strings need cleaning up since 1072 /* These internal strings need cleaning up since
1066 the post-processing may have been interrupted 1073 the post-processing may have been interrupted
1067 at any stage */ 1074 at any stage */