fix copy'n paste error
[buildroot.git] / package / ltrace / ltrace-0.5-00-susv3-legacy.patch
blob7518124ae383eae31a63382e53b2b9b16f15445b
1 --- ltrace-0.5.orig/read_config_file.c  2006-02-20 22:48:07.000000000 +0100
2 +++ ltrace-0.5/read_config_file.c       2007-10-02 12:18:21.000000000 +0200
3 @@ -57,7 +57,7 @@
4  
5         while (tmp->name) {
6                 if (!strncmp(*str, tmp->name, strlen(tmp->name))
7 -                   && index(" ,)#", *(*str + strlen(tmp->name)))) {
8 +                   && strchr(" ,)#", *(*str + strlen(tmp->name)))) {
9                         *str += strlen(tmp->name);
10                         return tmp->pt;
11                 }