]> granicus.if.org Git - php/commitdiff
byref really means that we want the zval...
authorWez Furlong <wez@php.net>
Mon, 10 Feb 2003 20:30:24 +0000 (20:30 +0000)
committerWez Furlong <wez@php.net>
Mon, 10 Feb 2003 20:30:24 +0000 (20:30 +0000)
ext/rpc/com/com.c

index c95357a997d84229b132eccdcaeffcdde4b74ab5..2d5a81cb2e5157ebb63cad1ec230b372f15059f4 100644 (file)
@@ -539,15 +539,14 @@ static inline void vt_type_to_zpp_string(ELEMDESC *elem, smart_str *argtypes_str
                }
        }
 
-       smart_str_appendl(argtypes_str, &zppflag, 1);
        if (ref) {
-               smart_str_appendl(argtypes_str, "/", 1);
+               smart_str_appendl(argtypes_str, "z/", 2);
                *argflags = BYREF_FORCE;
        } else {
                *argflags = BYREF_NONE;
-       }
-       if (nullable) {
-               smart_str_appendl(argtypes_str, "!", 1);
+               if (nullable) {
+                       smart_str_appendl(argtypes_str, "!", 1);
+               }
        }
 }