]> pd.if.org Git - pdclib/blobdiff - functions/string/strlen.c
Test-compile fixes.
[pdclib] / functions / string / strlen.c
index 24101b62f8b6a2fa18565032316d06359d8be4b7..c862805ed74840f0e5b906e3cf2008beb1beef43 100644 (file)
@@ -13,7 +13,7 @@
 size_t strlen( const char * s )
 {
     size_t rc = 0;
-    while ( src[rc] )
+    while ( s[rc] )
     {
         ++rc;
     }