summaryrefslogtreecommitdiff
path: root/res/res_http_post.c
diff options
context:
space:
mode:
authorPaul Belanger <paul.belanger@polybeacon.com>2011-02-04 16:55:39 +0000
committerPaul Belanger <paul.belanger@polybeacon.com>2011-02-04 16:55:39 +0000
commit3556e4c2d46e8f8d8480c08f9aae049a53f3a493 (patch)
treea3d1da6c10bc2730a0a579368a28f804a074c035 /res/res_http_post.c
parent9f65acf33e3cab60a9a4e635fe00e6abf2ddc561 (diff)
Replace ast_log(LOG_DEBUG, ...) with ast_debug()
(closes issue #18556) Reported by: kkm Review: https://reviewboard.asterisk.org/r/1071/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@306258 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_http_post.c')
-rw-r--r--res/res_http_post.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/res/res_http_post.c b/res/res_http_post.c
index 5fff5d8ba..e2d93d340 100644
--- a/res/res_http_post.c
+++ b/res/res_http_post.c
@@ -123,7 +123,7 @@ static void process_message_callback(GMimeObject *part, gpointer user_data)
return;
} else if (GMIME_IS_MULTIPART(part)) {
GList *l;
-
+
ast_log(LOG_WARNING, "Got unexpected GMIME_IS_MULTIPART, trying to process subparts\n");
l = GMIME_MULTIPART(part)->subparts;
while (l) {
@@ -365,9 +365,7 @@ static int http_post_callback(struct ast_tcptls_session_instance *ser, const str
fprintf(f, "\r\n");
if (0 > readmimefile(ser->f, f, boundary_marker, content_len)) {
- if (option_debug) {
- ast_log(LOG_DEBUG, "Cannot find boundary marker in POST request.\n");
- }
+ ast_debug(1, "Cannot find boundary marker in POST request.\n");
fclose(f);
return -1;