summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/html.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html.cc b/src/html.cc
index 7b604c1a..15a7f726 100644
--- a/src/html.cc
+++ b/src/html.cc
@@ -4097,7 +4097,7 @@ static void Html_submit_form2(DilloHtml *html, DilloHtmlForm *form,
dStr_sprintf(boundary, "---------------------------%d%d%d",
rand(), rand(), rand());
dStr_truncate(boundary, 70);
- success = !strstr(DataStr->str, boundary->str);
+ success = (dStr_memmem(DataStr, boundary) == NULL);
}
dList_free(values);
dStr_truncate(DataStr, 0);