提交 3d3a92bb authored 作者: Brian West's avatar Brian West

cleanup

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7049 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 1c0c5a77
...@@ -760,9 +760,7 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char * ...@@ -760,9 +760,7 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char *
stream.write_function(&stream, "</remote>\n"); stream.write_function(&stream, "</remote>\n");
} }
} }
stream.write_function(&stream, "</dialog>\n"); stream.write_function(&stream, "</dialog>\n");
} }
stream.write_function(&stream, "</dialog-info>\n"); stream.write_function(&stream, "</dialog-info>\n");
...@@ -773,7 +771,6 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char * ...@@ -773,7 +771,6 @@ static int sofia_presence_sub_callback(void *pArg, int argc, char **argv, char *
if (astate && uuid && helper->stream.data) { if (astate && uuid && helper->stream.data) {
stream.write_function(&helper->stream, "update sip_dialogs set state='%s' where uuid='%s';\n", astate, uuid); stream.write_function(&helper->stream, "update sip_dialogs set state='%s' where uuid='%s';\n", astate, uuid);
} }
} else { } else {
pl = switch_mprintf("<?xml version='1.0' encoding='UTF-8'?>\r\n" pl = switch_mprintf("<?xml version='1.0' encoding='UTF-8'?>\r\n"
"<presence xmlns='urn:ietf:params:xml:ns:pidf'\r\n" "<presence xmlns='urn:ietf:params:xml:ns:pidf'\r\n"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论