Skip to content

Commit

Permalink
Fix incorrect bug log.
Browse files Browse the repository at this point in the history
A missing tracing context in the SL_reply_out callback is perfectly valid - if you send from script a reply (se_send_reply) without doing any sip_trace() before.
  • Loading branch information
bogdan-iancu committed Jul 14, 2017
1 parent 8d7f4a0 commit 5a4550b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/siptrace/siptrace.c
Expand Up @@ -1663,7 +1663,7 @@ static void trace_slreply_out(struct sip_msg* req, str *buffer,int rpl_code,

info = context_get_ptr(CONTEXT_GLOBAL, current_processing_ctx, sl_ctx_idx);
if (info == NULL) {
LM_BUG("null trace info!something is wrong here \n");
LM_DBG("no sip_trace() done so far\n");
return;
}

Expand Down

0 comments on commit 5a4550b

Please sign in to comment.