Module: kamailio
Branch: master
Commit: 3aaeb350f3cd63ecb8662ba1087bffceeb1321ea
URL:
https://github.com/kamailio/kamailio/commit/3aaeb350f3cd63ecb8662ba1087bffc…
Author: Henning Westerholt <hw(a)kamailio.org>
Committer: Henning Westerholt <hw(a)kamailio.org>
Date: 2018-03-06T08:38:15+01:00
db_berkeley: data converting log improvement - errors should be logged as such
---
Modified: src/modules/db_berkeley/bdb_lib.c
Modified: src/modules/db_berkeley/km_bdb_val.c
---
Diff:
https://github.com/kamailio/kamailio/commit/3aaeb350f3cd63ecb8662ba1087bffc…
Patch:
https://github.com/kamailio/kamailio/commit/3aaeb350f3cd63ecb8662ba1087bffc…
---
diff --git a/src/modules/db_berkeley/bdb_lib.c b/src/modules/db_berkeley/bdb_lib.c
index 53d2a67c22..9d566b9bab 100644
--- a/src/modules/db_berkeley/bdb_lib.c
+++ b/src/modules/db_berkeley/bdb_lib.c
@@ -1082,7 +1082,7 @@ int bdb_val2str(db_fld_t *fld, char *sout, int *slen)
break;
default:
- DBG("Unknown data type\n");
+ ERR("Unknown data type\n");
return -8;
}
}
diff --git a/src/modules/db_berkeley/km_bdb_val.c b/src/modules/db_berkeley/km_bdb_val.c
index c2d273d1ed..d895a870c9 100644
--- a/src/modules/db_berkeley/km_bdb_val.c
+++ b/src/modules/db_berkeley/km_bdb_val.c
@@ -274,7 +274,7 @@ int km_bdb_val2str(db_val_t *_v, char *_s, int *_len)
break;
default:
- LM_DBG("Unknown data type\n");
+ LM_ERR("Unknown data type\n");
return -8;
}
}