Changeset 143 in svn


Ignore:
Timestamp:
2006-09-08T03:36:06+02:00 (9 years ago)
Author:
Xuefer
Message:

fixed string parameter parsing arg type for disassembler functions. thanks to Nuno Lopes' check_parameters.php

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/1.0/xcache.c

    r141 r143  
    15161516{
    15171517    char *filename;
    1518     long filename_len;
     1518    int filename_len;
    15191519
    15201520    if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) {
     
    16771677{
    16781678    char *name;
    1679     long name_len;
     1679    int name_len;
    16801680
    16811681    if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) {
  • trunk/xcache.c

    r141 r143  
    18101810{
    18111811    char *filename;
    1812     long filename_len;
     1812    int filename_len;
    18131813
    18141814    if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, &filename_len) == FAILURE) {
     
    19711971{
    19721972    char *name;
    1973     long name_len;
     1973    int name_len;
    19741974
    19751975    if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &name, &name_len) == FAILURE) {
Note: See TracChangeset for help on using the changeset viewer.