commit 3a7f2564451976ae828735925691c6a64ee202db parent 3177648ff4a299041da4d64495b7e73212017bd9 Author: Manuel Geissbühler <manuel@debian> Date: Thu, 2 Jan 2025 13:38:54 +0100 testing Diffstat:
| M | src/cash2ecash.cpp | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/cash2ecash.cpp b/src/cash2ecash.cpp @@ -57,7 +57,7 @@ void actionEventInitialize() { } void actionEventUnexpected(){ - std::cerr << "Event not expected in this state" << std::endl; + std::cerr << "Event not expected in this state" << state << std::endl; } void actionEventStart(){ @@ -196,8 +196,8 @@ void initStateEvent(){ void eventHandler(event_e event){ - stateEventTable[state][event].action(); state = stateEventTable[state][event].nextState; + stateEventTable[state][event].action(); } int main(int argc, char *argv[]){