Project

General

Profile

« Previous | Next » 

Revision 0780eafe

Added by Colin Smith over 20 years ago

Fix signature handling for arrays and (presumably) structs. Time will tell if this will break compatibility with other languages and/or implementations ;)

View differences:

etc/inc/xmlrpc_server.inc
333 333
                    if ($p->kindOf() == 'scalar') {
334 334
                        $pt = $p->scalartyp();
335 335
                    } else {
336
			$fout = fopen("/tmp/blah.log", "w");
336 337
                        $pt = $p->kindOf();
338
			fwrite($fout, $p->kindOf());
339
			fclose($fout);
337 340
                    }
338 341
                    // $n+1 as first type of sig is return type
339
                    if ($pt != $cursig[$n+1]) {
342
                    if ($pt != strtolower($cursig[$n+1])) {
340 343
                        $itsOK = 0;
341 344
                        $pno = $n+1;
342 345
                        $wanted = $cursig[$n+1];

Also available in: Unified diff