mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
Update stringfield documentation for removed second va_list in favor of va_copy.
In r320946, the second va_list that was passed to ast_string_field_build_va and friends, was removed. This patch updates the documentation to reflect that. ........ Merged revisions 357620 from http://svn.asterisk.org/svn/asterisk/branches/10 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@357621 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1773,7 +1773,7 @@ void __ast_string_field_ptr_build_va(struct ast_string_field_mgr *mgr,
|
||||
return;
|
||||
}
|
||||
vsprintf(target, format, ap);
|
||||
va_end(ap);
|
||||
va_end(ap); /* XXX va_end without va_start? */
|
||||
__ast_string_field_release_active(*pool_head, *ptr);
|
||||
*ptr = target;
|
||||
} else if (*ptr != target) {
|
||||
|
Reference in New Issue
Block a user