projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02bc363
)
fix a typo in the documentation of how to use string fields
author
Russell Bryant
<russell@russellbryant.com>
Mon, 5 Jun 2006 04:51:10 +0000
(
04:51
+0000)
committer
Russell 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
patch
|
blob
|
history
diff --git
a/include/asterisk/stringfields.h
b/include/asterisk/stringfields.h
index
827bb96
..
cb34dd3
100644
(file)
--- 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;
}