? code-style.pl ? code.txt ? patch_correction.patch Index: secondlife.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/secondlife/secondlife.module,v retrieving revision 1.4.2.7 diff -r1.4.2.7 secondlife.module 301a302 > 304a306,318 > // read response from rpc server > while(!feof($socket)) $response .= fgets($socket); > > // close the connection > fclose($socket); > > // parse out the returned data > $sVal = secondlife_get_data_between($response, 'StringValue',''); > $iVal = secondlife_get_data_between($response, '',''); > > // return the response data in an array > return array('channel' => $channel, 'string' => $sVal, 'integer' => $iVal); > } 338,350d351 < // read response from rpc server < while(!feof($socket)) $response .= fgets($socket); < < // close the connection < fclose($socket); < < // parse out the returned data < $sVal = secondlife_get_data_between($response, 'StringValue',''); < $iVal = secondlife_get_data_between($response, '',''); < < // return the response data in an array < return array('channel' => $channel, 'string' => $sVal, 'integer' => $iVal); < }