Changeset 17655 for trunk/FACT++/src


Ignore:
Timestamp:
04/04/14 22:05:30 (11 years ago)
Author:
tbretz
Message:
To check for not equal one should use != not == and to add a text to a string, the text alone is not enough.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/InterpreterV8.cc

    r17498 r17655  
    381381                         "if(!s)throw new Error('Waiting for state "+arg1+" of server "+arg0+" failed.');";
    382382    if (isNot)
    383                          "if(state=="+index+")return true;";
     383        code +=
     384                         "if(state!="+index+")return true;";
    384385    else
     386        code +=
    385387                         "if(state=="+index+")return true;";
    386388    if (timeout)
Note: See TracChangeset for help on using the changeset viewer.