Browse Source

inpcom.c, inp_chk_for_multi_in_vcvs(), use `strchr()'

pre-master-46
rlar 12 years ago
parent
commit
e4e2abdf09
  1. 4
      src/frontend/inpcom.c

4
src/frontend/inpcom.c

@ -1219,9 +1219,7 @@ inp_chk_for_multi_in_vcvs(struct line *c, int *line_number)
node_str = strdup(str_ptr1); node_str = strdup(str_ptr1);
*str_ptr2 = keep; *str_ptr2 = keep;
str_ptr1 = bool_ptr;
while (*++str_ptr1 != '(')
;
str_ptr1 = strchr(bool_ptr, '(');
fcn_name = copy_substring(bool_ptr, str_ptr1); fcn_name = copy_substring(bool_ptr, str_ptr1);
str_ptr1 = strchr(str_ptr1, ')'); str_ptr1 = strchr(str_ptr1, ')');
comma_ptr = strchr(line, ','); comma_ptr = strchr(line, ',');

Loading…
Cancel
Save