Navigation Menu

Skip to content

Commit

Permalink
Changes variable name to more meaningful one
Browse files Browse the repository at this point in the history
  • Loading branch information
kenhys committed Jun 28, 2012
1 parent b9d5120 commit 882a122
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/mrn_path_mapper.cpp
Expand Up @@ -50,8 +50,8 @@ namespace mrn {

if (strncmp(mysql_path_, "./", 2) == 0) {
if (path_prefix_) {
size_t db_len = strlen(db_path_);
strncat(db_path_, path_prefix_, MRN_MAX_PATH_SIZE - db_len - 1);
size_t db_path_length = strlen(db_path_);
strncat(db_path_, path_prefix_, MRN_MAX_PATH_SIZE - db_path_length - 1);
}

int i = 2, j = strlen(db_path_), len;
Expand Down

0 comments on commit 882a122

Please sign in to comment.