diff options
author | Richard Mudgett <rmudgett@digium.com> | 2016-04-28 16:06:57 -0500 |
---|---|---|
committer | Richard Mudgett <rmudgett@digium.com> | 2016-04-28 17:06:01 -0500 |
commit | 5dc0e082b26896e8a6ae07927aa46c2cec75a7ed (patch) | |
tree | 331a68a6ec65b92dfe37ae9f6f8d265a077d0d89 /res/res_pjsip_pubsub.c | |
parent | 86fb803257586f670799de19b1585bb65be991d8 (diff) |
res_pjsip_pubsub.c: Add useful information to some messages.
Change-Id: Ia0b2e15773894c599e5c5748bbc70e99f434192a
Diffstat (limited to 'res/res_pjsip_pubsub.c')
-rw-r--r-- | res/res_pjsip_pubsub.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/res/res_pjsip_pubsub.c b/res/res_pjsip_pubsub.c index 670047567..481a96c87 100644 --- a/res/res_pjsip_pubsub.c +++ b/res/res_pjsip_pubsub.c @@ -3179,14 +3179,15 @@ int ast_sip_pubsub_generate_body_content(const char *type, const char *subtype, } if (strcmp(data->body_type, generator->body_type)) { - ast_log(LOG_WARNING, "Body generator does not accept the type of data provided\n"); + ast_log(LOG_WARNING, "%s/%s body generator does not accept the type of data provided\n", + type, subtype); return -1; } body = generator->allocate_body(data->body_data); if (!body) { - ast_log(LOG_WARNING, "Unable to allocate a NOTIFY body of type %s/%s\n", - type, subtype); + ast_log(LOG_WARNING, "%s/%s body generator could not to allocate a body\n", + type, subtype); return -1; } |