git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4852 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2007-04-04 22:36:33 +00:00
parent ee3f862e61
commit 552164b3f4
1 changed files with 1 additions and 1 deletions

View File

@ -1763,7 +1763,7 @@ void ldl_handle_send_vcard(ldl_handle_t *handle, char *from, char *to, char *id,
vcard = text;
} else {
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);
}
}