Changeset 313


Ignore:
Timestamp:
04/18/07 09:25:31 (14 years ago)
Author:
bastiaans
Message:

web/addons/job_monarch/libtoga.php:

  • removed deprecated calls by reference
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/addons/job_monarch/libtoga.php

    r306 r313  
    428428                $timeout = 3;
    429429
    430                 $fp = fsockopen( $this->ip, $this->port, &$errno, &$errstr, $timeout );
     430                $fp = fsockopen( $this->ip, $this->port, $errno, $errstr, $timeout );
    431431
    432432                if( !$fp ) {
     
    474474                $this->data = $src->getData();
    475475
    476                 if ( !xml_parse( &$this->parser, $this->data ) )
    477                         $error = sprintf( 'XML error: %s at %d', xml_error_string( xml_get_error_code( &$this->parser ) ), xml_get_current_line_number( &$this->parser ) );
     476                if ( !xml_parse( $this->parser, $this->data ) )
     477                        $error = sprintf( 'XML error: %s at %d', xml_error_string( xml_get_error_code( $this->parser ) ), xml_get_current_line_number( $this->parser ) );
    478478        }
    479479
Note: See TracChangeset for help on using the changeset viewer.