#924 Fix that only the commands without session were checked

Irina reports that the bug fixed in 78a97c5 happens again when you run a
command with a session (queue of actions).

The bug was introduced in 78a97c5, the goal of the commit was
to change the behaviour of respuestaEstandar to always check
the result of a command, whether it has a session or not. But, instead
of this behaviour, the commit changes respuestaEstandar to only check the
commands without session.
master
Javier Sánchez Parra 2019-11-25 12:48:26 +01:00 committed by OpenGnSys Support Team
parent 696c5bbaf0
commit a245411ab2
1 changed files with 5 additions and 0 deletions

View File

@ -1127,6 +1127,11 @@ static bool respuestaEstandar(TRAMA *ptrTrama, char *iph, char *ido, Database db
liberaMemoria(der);
if (atoi(res) == ACCION_FALLIDA) {
liberaMemoria(res);
return false;
}
liberaMemoria(res);
return true;
}