mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +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);
|
||||
}
|
||||
|
||||
status = regexec(re_buf + 1 + i, attrib[i], 10, pmatch, 0);
|
||||
if (status == REG_NOMATCH)
|
||||
break;
|
||||
if (isparam(attr_list[i])) {
|
||||
status = regexec(re_buf + 1 + i, attrib[i], 10, pmatch, 0);
|
||||
if (status == REG_NOMATCH)
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user