msopacua Fri Oct 4 05:22:02 2002 EDT Modified files: /php4/ext/xslt sablot.c Log: (xslt_set_error_handler) Fixes array 'fields' argument to contain correct information. Patch by Lenar Lohmus. @- Fixed fields argument to contain correct info. (Lenar Lohmus) Index: php4/ext/xslt/sablot.c diff -u php4/ext/xslt/sablot.c:1.52 php4/ext/xslt/sablot.c:1.53 --- php4/ext/xslt/sablot.c:1.52 Thu Aug 22 05:54:04 2002 +++ php4/ext/xslt/sablot.c Fri Oct 4 05:22:02 2002 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: sablot.c,v 1.52 2002/08/22 09:54:04 chregu Exp $ */ +/* $Id: sablot.c,v 1.53 2002/10/04 09:22:02 msopacua Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -1483,7 +1483,7 @@ strlcpy(val, *fields + pos + 1, len - pos); /* Add it */ - add_assoc_stringl_ex(argv[3], key, pos, val, len - pos - 1, 1); + add_assoc_stringl_ex(argv[3], key, pos + 1, val, len - +pos - 1, 1); /* Cleanup */ efree(key);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php