Changeset 84 for trunk/src/control/test/control_test.cpp
- Timestamp:
- 01/13/06 23:32:35 (3 years ago)
- Files:
-
- 1 modified
-
trunk/src/control/test/control_test.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/control/test/control_test.cpp
r72 r84 38 38 39 39 /* Start Tor */ 40 if (!control.start Tor(&errmsg)) {40 if (!control.start(&errmsg)) { 41 41 qDebug() << "Could not start Tor:" << errmsg; 42 42 return -1; … … 48 48 if (!control.connect(&errmsg)) { 49 49 qDebug() << "Could not connect to Tor:" << errmsg; 50 control.stop Tor();50 control.stop(); 51 51 return -1; 52 52 } else { … … 55 55 56 56 /* Authenticate */ 57 if (control.authenticate( QByteArray(),&errmsg)) {57 if (control.authenticate(&errmsg)) { 58 58 qDebug() << "Authentication Successful..."; 59 59 … … 71 71 /* Disconnect the control socket and stop Tor */ 72 72 control.disconnect(); 73 control.stop Tor();73 control.stop(); 74 74 75 75 return 0;
