- Check for failure when putting the packet in the ast_str

- fix a spelling error in a header file


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@155516 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2008-11-08 21:46:43 +00:00
parent 648ea2aab9
commit ef489f8195
2 changed files with 9 additions and 3 deletions

View File

@@ -569,7 +569,7 @@ struct ast_str *__ast_str_thread_get(struct ast_threadstorage *ts,
* interface simplified).
*/
enum {
/*! An error has occured and the contents of the dynamic string
/*! An error has occurred and the contents of the dynamic string
* are undefined */
AST_DYNSTR_BUILD_FAILED = -1,
/*! The buffer size for the dynamic string had to be increased, and