aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/postprocessor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/postprocessor.c')
-rw-r--r--src/microhttpd/postprocessor.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/microhttpd/postprocessor.c b/src/microhttpd/postprocessor.c
index 7cffeaea..eda1ae51 100644
--- a/src/microhttpd/postprocessor.c
+++ b/src/microhttpd/postprocessor.c
@@ -801,13 +801,13 @@ find_boundary (struct MHD_PostProcessor *pp,
801 '-', 801 '-',
802 pp->buffer_pos); 802 pp->buffer_pos);
803 if (NULL == dash) 803 if (NULL == dash)
804 (*ioffptr) += pp->buffer_pos; /* skip entire buffer */ 804 (*ioffptr) += pp->buffer_pos; /* skip entire buffer */
805 else if (dash == buf) 805 else if (dash == buf)
806 (*ioffptr)++; /* at least skip one byte */ 806 (*ioffptr)++; /* at least skip one byte */
807 else 807 else
808 (*ioffptr) += dash - buf; /* skip to first possible boundary */ 808 (*ioffptr) += dash - buf; /* skip to first possible boundary */
809 } 809 }
810 return MHD_NO; /* expected boundary */ 810 return MHD_NO; /* expected boundary */
811 } 811 }
812 /* remove boundary from buffer */ 812 /* remove boundary from buffer */
813 (*ioffptr) += 2 + blen; 813 (*ioffptr) += 2 + blen;