Skip to content
Snippets Groups Projects
Commit 588b54f8 authored by Russell Bryant's avatar Russell Bryant
Browse files

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
parent 02bc3637
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment