From 11b208a6e6474b7c7a17de76111dcfdd5770b70e Mon Sep 17 00:00:00 2001 From: Justin Maggard Date: Thu, 30 Apr 2009 09:51:46 +0000 Subject: [PATCH] * Use glob instead of like, to take advantage of indexes. --- utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.c b/utils.c index 0762ba9..4844e43 100644 --- a/utils.c +++ b/utils.c @@ -82,7 +82,7 @@ modifyString(char * string, const char * before, const char * after, short like) while( *++t != '"' ) continue; memmove(t+1, t, strlen(t)+1); - *t = '%'; + *t = '*'; } memmove(p + newlen, p + oldlen, strlen(p + oldlen) + 1); memcpy(p, after, newlen);