Skip to content

Commit

Permalink
receive.c: logging: DBG -> LM_DBG
Browse files Browse the repository at this point in the history
  • Loading branch information
ovidiusas committed Jan 13, 2015
1 parent cd38f62 commit c9dca9b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions receive.c
Expand Up @@ -131,7 +131,7 @@ int receive_msg(char* buf, unsigned int len, struct receive_info* rcv_info)
}
goto error02;
}
DBG("After parse_msg...\n");
LM_DBG("After parse_msg...\n");

/* set log prefix */
log_prefix_set(msg);
Expand Down Expand Up @@ -174,7 +174,7 @@ int receive_msg(char* buf, unsigned int len, struct receive_info* rcv_info)
#endif

/* skip: */
DBG("preparing to run routing scripts...\n");
LM_DBG("preparing to run routing scripts...\n");
#ifdef STATS
gettimeofday( & tvb, &tz );
#endif
Expand Down Expand Up @@ -203,7 +203,7 @@ int receive_msg(char* buf, unsigned int len, struct receive_info* rcv_info)
diff = (tve.tv_sec-tvb.tv_sec)*1000000+(tve.tv_usec-tvb.tv_usec);
stats->processed_requests++;
stats->acc_req_time += diff;
DBG("successfully ran routing scripts...(%d usec)\n", diff);
LM_DBG("successfully ran routing scripts...(%d usec)\n", diff);
STATS_RX_REQUEST( msg->first_line.u.request.method_value );
#endif

Expand Down Expand Up @@ -259,7 +259,7 @@ int receive_msg(char* buf, unsigned int len, struct receive_info* rcv_info)
diff = (tve.tv_sec-tvb.tv_sec)*1000000+(tve.tv_usec-tvb.tv_usec);
stats->processed_responses++;
stats->acc_res_time+=diff;
DBG("successfully ran reply processing...(%d usec)\n", diff);
LM_DBG("successfully ran reply processing...(%d usec)\n", diff);
#endif

/* execute post reply-script callbacks */
Expand All @@ -275,7 +275,7 @@ int receive_msg(char* buf, unsigned int len, struct receive_info* rcv_info)
#ifdef WITH_XAVP
xavp_reset_list();
#endif
DBG("receive_msg: cleaning up\n");
LM_DBG("cleaning up\n");
free_sip_msg(msg);
pkg_free(msg);
#ifdef STATS
Expand All @@ -296,7 +296,7 @@ int receive_msg(char* buf, unsigned int len, struct receive_info* rcv_info)
goto error02;
#endif /* NO_ONREPLY_ROUTE_ERROR */
error_req:
DBG("receive_msg: error:...\n");
LM_DBG("error:...\n");
/* execute post request-script callbacks */
exec_post_script_cb(msg, REQUEST_CB_TYPE);
error03:
Expand Down

0 comments on commit c9dca9b

Please sign in to comment.