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:
phamt 2010-08-05 19:17:07 +00:00
parent 3927eb8bf1
commit ea8483cbe0

View File

@ -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