提交 552164b3 authored 作者: Anthony Minessale's avatar Anthony Minessale

one less

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4852 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 ee3f862e
...@@ -1763,7 +1763,7 @@ void ldl_handle_send_vcard(ldl_handle_t *handle, char *from, char *to, char *id, ...@@ -1763,7 +1763,7 @@ void ldl_handle_send_vcard(ldl_handle_t *handle, char *from, char *to, char *id,
vcard = text; vcard = text;
} else { } else {
if (ap && (strstr(vcard, "photo") || strstr(vcard, "PHOTO"))) { if (ap && (strstr(vcard, "photo") || strstr(vcard, "PHOTO"))) {
ldl_random_string(ap->hash, sizeof(ap->hash), NULL); ldl_random_string(ap->hash, sizeof(ap->hash) -1, NULL);
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论