diff options
author | jcid <devnull@localhost> | 2008-04-06 18:58:30 +0200 |
---|---|---|
committer | jcid <devnull@localhost> | 2008-04-06 18:58:30 +0200 |
commit | 40334a7897e3b6f81ae957ae518e3e7afade32fe (patch) | |
tree | db514b3dc7ba42eaa5fb65f00d3060fb6422118f /src | |
parent | 7650ae10e77d0058fe617ef670bad60349b45fed (diff) |
- Added dStr_memmem() to dlib.
Diffstat (limited to 'src')
-rw-r--r-- | src/html.cc | 2 |
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); |