fix a typo in the documentation of how to use string fields
authorRussell Bryant <russell@russellbryant.com>
Mon, 5 Jun 2006 04:51:10 +0000 (04:51 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 5 Jun 2006 04:51:10 +0000 (04:51 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32161 65c4cc65-6c06-0410-ace0-fbb531ad65f3

include/asterisk/stringfields.h

index 827bb96..cb34dd3 100644 (file)
@@ -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;
          }