Diff for libcfg+/src/shared.c between version 1.6 and 1.7
| version 1.6, 2002/02/28 17:50:41 |
version 1.7, 2002/04/04 17:10:58 |
| Line 460 search_cur_opt_idx(con) |
|
| Line 460 search_cur_opt_idx(con) |
|
| return i; |
return i; |
| } |
} |
| else { /* con->type == CFG_CFGFILE */ |
else { /* con->type == CFG_CFGFILE */ |
| |
int len; |
| |
|
| if (con->cur_opt != NULL |
if (con->cur_opt != NULL |
| && con->options[i].cfgfile_name != NULL |
&& con->options[i].cfgfile_name != NULL |
| && ! strcmp(con->cur_opt, con->options[i].cfgfile_name)) |
&& con->cur_opt == str_white_str(con->cur_opt, |
| |
(char *)(con->options[i].cfgfile_name), &len) |
| |
&& len == strlen(con->cur_opt)) |
| |
/* Old stuff: |
| |
&& ! strcmp(con->cur_opt, con->options[i].cfgfile_name)) */ |
| |
|
| return i; |
return i; |
| } |
} |
Platon Group <platon@platon.org> http://platon.org/
|
|