]> granicus.if.org Git - php/commitdiff
(wddx_add_vars) adjusted to new resource-API
authorThies C. Arntzen <thies@php.net>
Tue, 12 Oct 1999 15:23:59 +0000 (15:23 +0000)
committerThies C. Arntzen <thies@php.net>
Tue, 12 Oct 1999 15:23:59 +0000 (15:23 +0000)
ext/wddx/wddx.c

index 5eb14104ecd9aed6056f1f0e189b405f3af07de9..5a5b566249d793dfc0c69f873851cb9fed7849ba 100644 (file)
@@ -853,7 +853,7 @@ PHP_FUNCTION(wddx_add_vars)
        
        packet_id = args[0];
 
-       packet = (wddx_packet *)zend_fetch_resource(packet_id, -1, "WDDX packet ID", le_wddx);
+       packet = (wddx_packet *)zend_fetch_resource(packet_id, -1, "WDDX packet ID", NULL, 1, le_wddx);
        if (!packet)
        {
                efree(args);