mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-12 19:33:03 +00:00
XPath starts now with index 1
SVN revision: 1269
This commit is contained in:
parent
626f44a117
commit
96b1a48822
@ -6,6 +6,9 @@
|
|||||||
Contents: Web server program for Electronic Logbook ELOG
|
Contents: Web server program for Electronic Logbook ELOG
|
||||||
|
|
||||||
$Log$
|
$Log$
|
||||||
|
Revision 1.593 2005/03/24 09:22:38 ritt
|
||||||
|
XPath starts now with index 1
|
||||||
|
|
||||||
Revision 1.592 2005/03/21 16:22:31 ritt
|
Revision 1.592 2005/03/21 16:22:31 ritt
|
||||||
Fixed typo
|
Fixed typo
|
||||||
|
|
||||||
@ -18769,7 +18772,7 @@ BOOL enum_user_line(LOGBOOK * lbs, int n, char *user, int size)
|
|||||||
if (lbs->pwd_xml_tree == NULL)
|
if (lbs->pwd_xml_tree == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
sprintf(str, "/list/user[%d]/name", n);
|
sprintf(str, "/list/user[%d]/name", n+1);
|
||||||
if ((node = mxml_find_node(lbs->pwd_xml_tree, str)) == NULL)
|
if ((node = mxml_find_node(lbs->pwd_xml_tree, str)) == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user