diff options
author | zuul <zuul@gerrit.asterisk.org> | 2016-04-28 23:01:59 -0500 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2016-04-28 23:01:59 -0500 |
commit | cc8a50631eaebdae76ed39dd59302cad796cf2cc (patch) | |
tree | 7122eedec9a7d0810c986eef8afb1ea35dab91c8 /res | |
parent | 2ae097f144426b3b7f6345b08e382b46aa876919 (diff) | |
parent | 5dc0e082b26896e8a6ae07927aa46c2cec75a7ed (diff) |
Merge "res_pjsip_pubsub.c: Add useful information to some messages." into 13
Diffstat (limited to 'res')
-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; } |