Skip to content

Commit

Permalink
Merge pull request #193 from kamailio/vseva/acc_mili
Browse files Browse the repository at this point in the history
lib/srdb1: use 6 digits for db_double2str
  • Loading branch information
miconda committed Jun 9, 2015
2 parents 3f13dc2 + e1dcdf5 commit 6518ba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/srdb1/db_ut.c
Expand Up @@ -193,7 +193,7 @@ inline int db_double2str(double _v, char* _s, int* _l)
return -1;
}

ret = snprintf(_s, *_l, "%-10.2f", _v);
ret = snprintf(_s, *_l, "%-10.6f", _v);
if (ret < 0 || ret >= *_l) {
LM_ERR("Error in snprintf\n");
return -1;
Expand Down

0 comments on commit 6518ba1

Please sign in to comment.