Changeset 77

Show
Ignore:
Timestamp:
01/12/06 19:30:03 (3 years ago)
Author:
edmanm
Message:

Stopping the Tor process can produce an error, too.

Location:
trunk/src/control
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/control/torcontrol.cpp

    r76 r77  
    6767/** Stop the Tor process. */ 
    6868void 
    69 TorControl::stop() 
    70 { 
    71   _torProcess.stop(); 
     69TorControl::stop(QString *errmsg) 
     70{ 
     71  _torProcess.stop(errmsg); 
    7272} 
    7373 
  • trunk/src/control/torcontrol.h

    r76 r77  
    4646 
    4747  /** Stop the Tor process */ 
    48   void stop(); 
     48  void stop(QString *errmsg = 0); 
    4949 
    5050  /** Detect if the Tor process is running */