[xslt] small patch for libexslt/strings.c



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]