Skip to content

Commit

Permalink
Merge pull request #1918 from Ozzyboshi/master
Browse files Browse the repository at this point in the history
Wrong log message (params in wrong order)
  • Loading branch information
razvancrainea committed Dec 18, 2019
2 parents 1f7b04f + f84e515 commit a413f58
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/cachedb_mongodb/cachedb_mongodb_dbase.c
Expand Up @@ -1065,8 +1065,7 @@ int mongo_con_get_counter(cachedb_con *con, str *attr, int *val)
*val = value->value.v_int32;
break;
default:
LM_ERR("unsupported type %d for key %.*s!\n", attr->len,
value->value_type, attr->s);
LM_ERR("unsupported type %d for key %.*s!\n", value->value_type, attr->len, attr->s);
ret = -1;
goto out;
}
Expand Down

0 comments on commit a413f58

Please sign in to comment.