-
Notifications
You must be signed in to change notification settings - Fork 26
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 a segfault + related refactoring #50
base: main
Are you sure you want to change the base?
Conversation
At one instance (query_get_string_answer) it just flips the sign as it is customary to return negative value upon error (for uniform treatment).
Previously, running: touch /etc/booth/booth.conf booth grant a_ticket would result in a segfault due to not guarding resolution of local site properly in some circumstances, so do it at the central place. Also error messaging is now centralized.
8898484
to
b2dd0e4
Compare
Note that Travis CI runs are currently borked.
May they have mangled with |
b2dd0e4
to
948a555
Compare
There was an issue with last commit in not resolving |
Well, haven't read correctly, it was actually |
29bf5a9
to
736f58d
Compare
Respective logic was duplicated for all "booth list/peers/grant/revoke" and "geostore list/get/set/del" separately, so utilize a natural control flow to carry this once-resolved target site from here, sharing it with the special case of "daemon" role invoked with "-s site" (debug mode). Side effect: simpler, terser code.
736f58d
to
0c94ea1
Compare
On Tue, Sep 13, 2016 at 12:58:56PM -0700, Jan Pokorný wrote:
I did consider this before, but decided against refactoring. The |
No description provided.