Skip to content

Commit

Permalink
Merge pull request #1811 from klemensn/keep-password-private
Browse files Browse the repository at this point in the history
Omit password in debug (syslog) output
  • Loading branch information
mikebrady authored Feb 25, 2024
2 parents ebe5978 + b831da4 commit 4aee4ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shairport.c
Original file line number Diff line number Diff line change
Expand Up @@ -2475,7 +2475,7 @@ int main(int argc, char **argv) {
debug(1, "allow a session to be interrupted: %d.", config.allow_session_interruption);
debug(1, "busy timeout time is %d.", config.timeout);
debug(1, "drift tolerance is %f seconds.", config.tolerance);
debug(1, "password is \"%s\".", strnull(config.password));
debug(1, "password is %s.", config.password == NULL ? "not set" : "set (omitted)");
debug(1, "default airplay volume is: %.6f.", config.default_airplay_volume);
debug(1, "high threshold airplay volume is: %.6f.", config.high_threshold_airplay_volume);
if (config.limit_to_high_volume_threshold_time_in_minutes == 0)
Expand Down

0 comments on commit 4aee4ec

Please sign in to comment.