mirror of https://git.48k.eu/ogserver
#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
parent
696c5bbaf0
commit
a245411ab2
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue