Skip to content

Commit

Permalink
FS-3986 --resolve regression from 8f8af38
Browse files Browse the repository at this point in the history
  • Loading branch information
anthmFS committed Mar 8, 2012
1 parent 9ac53ff commit f2c5c92
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/mod/endpoints/mod_sofia/sofia_presence.c
Expand Up @@ -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;
Expand Down

0 comments on commit f2c5c92

Please sign in to comment.