[svn-commits] trunk r32161 - /trunk/include/asterisk/stringfields.h

svn-commits at lists.digium.com svn-commits at lists.digium.com
Sun Jun 4 21:51:10 MST 2006


Author: russell
Date: Sun Jun  4 23:51:10 2006
New Revision: 32161

URL: http://svn.digium.com/view/asterisk?rev=32161&view=rev
Log:
fix a typo in the documentation of how to use string fields

Modified:
    trunk/include/asterisk/stringfields.h

Modified: trunk/include/asterisk/stringfields.h
URL: http://svn.digium.com/view/asterisk/trunk/include/asterisk/stringfields.h?rev=32161&r1=32160&r2=32161&view=diff
==============================================================================
--- trunk/include/asterisk/stringfields.h (original)
+++ trunk/include/asterisk/stringfields.h Sun Jun  4 23:51:10 2006
@@ -47,7 +47,7 @@
   
   sample = calloc(1, sizeof(*sample));
   if (sample) {
-	  if (!ast_string_field_init(sample)) {
+	  if (!ast_string_field_init(sample, 256)) {
 		  free(sample);
 		  sample = NULL;
 	  }



More information about the svn-commits mailing list