diff --git a/src/mod/endpoints/mod_sofia/sofia_presence.c b/src/mod/endpoints/mod_sofia/sofia_presence.c index 1af11e8782..83baadf7d9 100644 --- a/src/mod/endpoints/mod_sofia/sofia_presence.c +++ b/src/mod/endpoints/mod_sofia/sofia_presence.c @@ -749,11 +749,9 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char * } stream.write_function(&stream, "\n"); - } else { - printf("resubscribe\n"); } - - stream.write_function(&stream, "\n"); + + stream.write_function(&stream, "\n"); pl = stream.data; ct = "application/dialog-info+xml";