From 552164b3f4f7c18f216970ed28894b7f77e3c069 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 4 Apr 2007 22:36:33 +0000 Subject: [PATCH] one less git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4852 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/libdingaling/src/libdingaling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libdingaling/src/libdingaling.c b/libs/libdingaling/src/libdingaling.c index 23fa21c29f..9cf37c140d 100644 --- a/libs/libdingaling/src/libdingaling.c +++ b/libs/libdingaling/src/libdingaling.c @@ -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); } }