mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user