Skip to content

Commit 9cd9024

Browse files
committed
Restored commit 7fed599, inadvertently removed.
1 parent 96ff573 commit 9cd9024

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/request_body_processor/multipart.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ int Multipart::boundary_characters_valid(const char *boundary) {
244244

245245

246246
void Multipart::validate_quotes(const char *data, char quote) {
247-
int i, len;
247+
int len;
248248

249249
if (data == NULL)
250250
return;
@@ -257,7 +257,7 @@ void Multipart::validate_quotes(const char *data, char quote) {
257257

258258
len = strlen(data);
259259

260-
for (i = 0; i < len; i++) {
260+
for (int i = 0; i < len; i++) {
261261
if (data[i] == '\'') {
262262
ms_dbg_a(m_transaction, 9,
263263
"Multipart: Invalid quoting detected: " \

0 commit comments

Comments
 (0)