Skip to content

Commit

Permalink
Quell compiler warnings about added trace logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
Castaglia committed Jun 20, 2016
1 parent 12821fb commit a4a1dc2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/support.c
Expand Up @@ -1265,11 +1265,12 @@ const char *path_subst_uservar(pool *path_pool, const char **path) {

if (i < 0) {
pr_trace_msg("auth", 3,
"out-of-bounds index number (%d) found in '%s', ignoring", i, substr);
"out-of-bounds index number (%ld) found in '%s', ignoring", i,
substr);

} else {
pr_trace_msg("auth", 3,
"out-of-bounds index number (%d > %lu) found in '%s', ignoring", i,
"out-of-bounds index number (%ld > %lu) found in '%s', ignoring", i,
(unsigned long) user_len-1, substr);
}

Expand Down

0 comments on commit a4a1dc2

Please sign in to comment.