Module: sip-router Branch: master Commit: a539b5612a1189fa193db8429732cfb5c0183990 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a539b561...
Author: Ovidiu Sas osas@voipembedded.com Committer: Ovidiu Sas osas@voipembedded.com Date: Fri Oct 3 16:41:51 2014 -0400
rad_dict.h: logging: convert LOG to LM_*
---
rad_dict.h | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/rad_dict.h b/rad_dict.h index fefb856..5354ca9 100644 --- a/rad_dict.h +++ b/rad_dict.h @@ -147,8 +147,8 @@ typedef enum rad_val { continue; \ da = rc_dict_findattr(rh, at[i].n); \ if (da == NULL) { \ - LOG(L_ERR, "ERROR: %s: can't get code for the " \ - "%s attribute\n", fn, at[i].n); \ + LM_ERR("%s: can't get code for %s attr\n", \ + fn, at[i].n); \ return e1; \ } \ at[i].v = da->value; \ @@ -158,8 +158,8 @@ typedef enum rad_val { continue; \ dv = rc_dict_findval(rh, vl[i].n); \ if (dv == NULL) { \ - LOG(L_ERR, "ERROR: %s: can't get code for the " \ - "%s attribute value\n", fn, vl[i].n);\ + LM_ERR("%s: can't get code for %s attr value\n",\ + fn, vl[i].n); \ return e2; \ } \ vl[i].v = dv->value; \