From c8223fc9578754dfaef1b337e5f0dfff546461b4 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Sat, 13 Dec 2008 08:36:35 +0000 Subject: Merge ast_str_opaque branch (discontinue usage of ast_str internals) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@163991 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- res/res_http_post.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'res/res_http_post.c') diff --git a/res/res_http_post.c b/res/res_http_post.c index 4a3156720..26daf7ad8 100644 --- a/res/res_http_post.c +++ b/res/res_http_post.c @@ -390,7 +390,7 @@ static struct ast_str *http_post_callback(struct ast_tcptls_session_instance *se NULL, "The was an error parsing the request."); } - if (!(message_count = process_message(message, post_dir->str))) { + if (!(message_count = process_message(message, ast_str_buffer(post_dir)))) { ast_log(LOG_ERROR, "Invalid MIME data, found no parts!\n"); g_object_unref(message); return ast_http_error((*status = 400), -- cgit v1.2.3