[xslt] small patch for libexslt/strings.c
- From: Alexey Efimov <ave stacksoft ru>
- To: xslt gnome org
- Subject: [xslt] small patch for libexslt/strings.c
- Date: Thu, 26 Dec 2002 17:01:59 +0300
Hello,
I think it's a tipo:
----------------------------------------------
*** strings.old.c Thu Dec 26 16:10:59 2002
--- strings.c Thu Dec 26 16:17:41 2002
***************
*** 119,125 ****
int number, str_len = 0;
xmlChar *str = NULL, *ret = NULL, *tmp;
! if ((nargs < 1) && (nargs > 2)) {
xmlXPathSetArityError(ctxt);
return;
}
--- 119,125 ----
int number, str_len = 0;
xmlChar *str = NULL, *ret = NULL, *tmp;
! if ((nargs < 1) || (nargs > 2)) {
xmlXPathSetArityError(ctxt);
return;
}
----------------------------------------------
With best regards, Alexey.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]