[Freeswitch-svn] [commit] r4852 - freeswitch/trunk/libs/libdingaling/src

Freeswitch SVN anthm at freeswitch.org
Wed Apr 4 18:36:33 EDT 2007


Author: anthm
Date: Wed Apr  4 18:36:33 2007
New Revision: 4852

Modified:
   freeswitch/trunk/libs/libdingaling/src/libdingaling.c

Log:
one less

Modified: freeswitch/trunk/libs/libdingaling/src/libdingaling.c
==============================================================================
--- freeswitch/trunk/libs/libdingaling/src/libdingaling.c	(original)
+++ freeswitch/trunk/libs/libdingaling/src/libdingaling.c	Wed Apr  4 18:36:33 2007
@@ -1763,7 +1763,7 @@
 		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);
 		}
 	}
 



More information about the Freeswitch-svn mailing list