From: Russell Bryant Date: Mon, 5 Jun 2006 04:51:10 +0000 (+0000) Subject: fix a typo in the documentation of how to use string fields X-Git-Tag: 1.4.0-beta1~1062 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=588b54f8c2512b1d718d398db74e955065e3b59f;p=thirdparty%2Fasterisk.git fix a typo in the documentation of how to use string fields git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32161 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/include/asterisk/stringfields.h b/include/asterisk/stringfields.h index 827bb96917..cb34dd37a1 100644 --- a/include/asterisk/stringfields.h +++ b/include/asterisk/stringfields.h @@ -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; }