Changeset 2816 for vidalia/trunk/src

Show
Ignore:
Timestamp:
07/01/08 22:09:22 (6 months ago)
Author:
edmanm
Message:

Use the correct field when trying to parse the severity value from the
'getinfo status/bootstrap-phase' response.

Files:
1 modified

Legend:

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

    r2780 r2816  
    350350  QString str = getInfo("status/bootstrap-phase").toString(); 
    351351  if (!str.isEmpty()) { 
    352     tc::Severity severity = tc::toSeverity(str.section(' ', 1, 1)); 
     352    tc::Severity severity = tc::toSeverity(str.section(' ', 0, 0)); 
    353353    QHash<QString,QString> args = string_parse_keyvals(str); 
    354354    return BootstrapStatus(severity,