Commit:e90778a08505be8daa9402a4dd2c247db67c59a0 (browse)
Parent:c740374d0d6fa4da5768457edb804f073f506f9e
Author:qwx <qwx@sciops.net>
Date:Sun Aug 23 15:41:40 CES 2020
Message:
strnaive: fix another stupid mistake

strnaive.c => strnaive.c
@@ -15,6 +15,6 @@
 	v = valloc(n, sizeof(int));
 	for(i=0; i<n; i++)
 		if(strcmp(S.s+i, W.s) == 0)
-			v = vinsert(v, (void*)&i);
+			vinsert(v, (void*)&i);
 	return v;
 }