Skip to content
Snippets Groups Projects
Commit 5ad9071e authored by patacongo's avatar patacongo
Browse files

Fix pointer increment bug

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2061 42af7a65-404d-4744-a932-0658087f49c3
parent fd0e5b99
No related branches found
No related tags found
No related merge requests found
......@@ -54,7 +54,7 @@ char *strstr(const char *str, const char *substr)
/* Special case the empty substring */
len = strlen(substr);
ch = *substr++;
ch = *substr;
if (!ch)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment