1
0
Fork 0

remove tailing \0 in filename of administration html output. reported by darix.

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@96 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
1.1
Xuefer 2006-07-31 12:11:30 +00:00
parent 99e6113755
commit 7e1a9f1740
1 changed files with 1 additions and 1 deletions

View File

@ -295,7 +295,7 @@ static void xc_fillentry_dmz(xc_entry_t *entry, int del, zval *list TSRMLS_DC) /
add_assoc_zval_ex(ei, ZEND_STRS("name"), zv);
} while (0);
#else
add_assoc_stringl_ex(ei, ZEND_STRS("name"), entry->name.str.val, entry->name.str.len + 1, 1);
add_assoc_stringl_ex(ei, ZEND_STRS("name"), entry->name.str.val, entry->name.str.len, 1);
#endif
switch (entry->type) {
case XC_TYPE_PHP: