summaryrefslogtreecommitdiffstats
path: root/src/memmem.h
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-01-14 23:48:51 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2008-01-14 23:48:51 +0100
commit9a9764e493c4d016343c050d099af4bdbdc58862 (patch)
tree88ba3d3282e2d20710fa6499774315aa6da9655c /src/memmem.h
parent3c8e7a507ab58a485b677a1bf58aa6968267fe77 (diff)
PhotoRec: expert can stop pass 0 and set the blocksize
Diffstat (limited to 'src/memmem.h')
-rw-r--r--src/memmem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/memmem.h b/src/memmem.h
index 8a700f1..d738dba 100644
--- a/src/memmem.h
+++ b/src/memmem.h
@@ -35,7 +35,7 @@ static inline const void *td_memmem(const void *haystack, const unsigned int hay
/* Sanity check, otherwise the loop might search through the whole
memory. */
if (haystack_len < needle_len)
- return NULL;
+ return NULL;
for (begin = (const char *) haystack; begin <= last_possible; ++begin)
if (begin[0] == ((const char *) needle)[0] &&