mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-14 20:33:48 +00:00
Fixed bug with regexec, thanks to Christian Richter
SVN revision: 2348
This commit is contained in:
parent
b1f627ba8b
commit
8d20b78231
@ -19757,9 +19757,11 @@ void show_elog_list(LOGBOOK * lbs, int past_n, int last_n, int page_n, BOOL defa
|
|||||||
setparam(attr_list[i], str);
|
setparam(attr_list[i], str);
|
||||||
}
|
}
|
||||||
|
|
||||||
status = regexec(re_buf + 1 + i, attrib[i], 10, pmatch, 0);
|
if (isparam(attr_list[i])) {
|
||||||
if (status == REG_NOMATCH)
|
status = regexec(re_buf + 1 + i, attrib[i], 10, pmatch, 0);
|
||||||
break;
|
if (status == REG_NOMATCH)
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user