summaryrefslogtreecommitdiff
path: root/client/netcom.cc
diff options
context:
space:
mode:
authordeva <deva>2008-08-19 09:28:09 +0000
committerdeva <deva>2008-08-19 09:28:09 +0000
commit5c102fdd1e6825a77bb9d7a69e268868d7f5398e (patch)
treedc37b25e6ad6045e91cab4e35f5d154a07defe26 /client/netcom.cc
parent26a6b739a38e928d005ac689e693a4d4dd7dc3ea (diff)
Bugfix. Shared connection didn't work with the continue action.
Diffstat (limited to 'client/netcom.cc')
-rw-r--r--client/netcom.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/client/netcom.cc b/client/netcom.cc
index 0f73e60..060517d 100644
--- a/client/netcom.cc
+++ b/client/netcom.cc
@@ -58,7 +58,10 @@ QDomDocument NetCom::send(QString course, QString macro)
request_elem.setAttribute("macro", macro);
pracro_elem.appendChild(request_elem);
+ printf(doc.toString().toStdString().c_str());
+
socket.write(doc.toByteArray());
+ socket.waitForBytesWritten(10000);
do {
qApp->processEvents();