mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-04 12:12:48 +00:00
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
This commit is contained in:
@@ -47,7 +47,7 @@
|
|||||||
|
|
||||||
sample = calloc(1, sizeof(*sample));
|
sample = calloc(1, sizeof(*sample));
|
||||||
if (sample) {
|
if (sample) {
|
||||||
if (!ast_string_field_init(sample)) {
|
if (!ast_string_field_init(sample, 256)) {
|
||||||
free(sample);
|
free(sample);
|
||||||
sample = NULL;
|
sample = NULL;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user