FS-3986 --resolve regression from 8f8af38365
This commit is contained in:
parent
9ac53ff859
commit
f2c5c92dfa
|
@ -2500,7 +2500,9 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char *
|
|||
}
|
||||
|
||||
if (zstr(uuid)) {
|
||||
stream.write_function(&stream, "<state>terminated</state>\n");
|
||||
if (stream.write_function) {
|
||||
stream.write_function(&stream, "<state>terminated</state>\n");
|
||||
}
|
||||
} else {
|
||||
if (!zstr(answer_state)) {
|
||||
astate = answer_state;
|
||||
|
|
Loading…
Reference in New Issue