diff options
Diffstat (limited to 'lib_generic')
-rw-r--r-- | lib_generic/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib_generic/string.c b/lib_generic/string.c index dea4d69..0e99d1b 100644 --- a/lib_generic/string.c +++ b/lib_generic/string.c @@ -380,7 +380,7 @@ char *strswab(const char *s) return (NULL); } - for (p=(char *)s, q=p+1; (*p != '\0') && (*p != '\0'); p+=2, q+=2) { + for (p=(char *)s, q=p+1; (*p != '\0') && (*q != '\0'); p+=2, q+=2) { char tmp; tmp = *p; |