-
Notifications
You must be signed in to change notification settings - Fork 594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix wrong format specifier in debug message #2645
Fix wrong format specifier in debug message #2645
Conversation
src/libmain.c
Outdated
@@ -406,7 +406,7 @@ static gint get_windows_socket_port(void) | |||
if (! g_file_test(configfile, G_FILE_TEST_IS_REGULAR)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code could actually be simplified by basically having the same code path for the with and without config cases: just don't load the config if it doesn't exist, and then utils_get_setting_integer()
will return the default. But that's not for a point release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in 58c5e34.
Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Changing the wording might be good and I'm not against it here, but as a rule of the thumb I usually prefer to avoid unnecessary changes in bugfix releases.
Yeah, right you are. |
Sounds good to me. I prep'd the 1.37 branch you created, and cherry-picked the first commit you mentioned. I won't do the whole release stuff tonight, but probably doable tomorrow. |
3efe4a8
to
58c5e34
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, and I trust you have actually tested this on Windows, with and without initial config 😉
Oh yes. I'm constantly trying to do the same mistake only once :). |
This led to crashes on Windows when starting without an existing
configuration file.
Closes #2639.