Removed getStatus() call
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6990 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
		| @@ -51,11 +51,6 @@ function docmd($cmd, $nr, $args){ | ||||
| 	$socket->setBlocking(true);		// Set socket as blocking stream | ||||
| 	$socket->write($request->asXML());	// Send xCAT request | ||||
| 	$xml = $socket->readAll();			// Get xCAT response | ||||
| 	$status = $socket->getStatus(); | ||||
| 	while ($status['unread_bytes']) { | ||||
| 		// Do nothing | ||||
| 		$status = $socket->getStatus(); | ||||
| 	} | ||||
| 	$socket->disconnect();	// Close socket | ||||
| 		 | ||||
| 	// submit_request() was the old way of sending the xCAT request | ||||
|   | ||||
		Reference in New Issue
	
	Block a user