FS-3986 --resolve regression from 8f8af38365

This commit is contained in:
Anthony Minessale 2012-03-08 10:18:28 -06:00
parent 9ac53ff859
commit f2c5c92dfa
1 changed files with 3 additions and 1 deletions

View File

@ -2500,7 +2500,9 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char *
}
if (zstr(uuid)) {
if (stream.write_function) {
stream.write_function(&stream, "<state>terminated</state>\n");
}
} else {
if (!zstr(answer_state)) {
astate = answer_state;