Fix pointer increment bug

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2061 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2009-09-16 14:00:30 +00:00
parent fd0e5b99b0
commit 5ad9071ef9

View File

@ -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)
{