-
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
Check "-c" argument before use #21
Comments
On Thu, Feb 18, 2016 at 06:55:08AM -0800, Philipp Marek wrote:
I'm a bit confused here. From init_header_bare(): 86 h->from = htonl(local->site_id); But does a client really need "local" set? |
Sorry for being so terse. I just meant that any filename that is not a file should be rejected ... or, at least, a directory shouldn't simply be opened as if it were a file. |
On Tue, Feb 23, 2016 at 01:45:01AM -0800, Philipp Marek wrote:
Yes, got that :) What I wrote about, however, is something that can happen |
Sorry for being dense, then ;)
|
On Tue, Feb 23, 2016 at 03:20:08AM -0800, Philipp Marek wrote:
Right. What got me is the comment (src/main.c): 355 /* Set "local" pointer, ignoring errors. */ And then not checking the outcome of find_myself(): 364 find_myself(NULL, type == CLIENT || type == GEOSTORE); The code around changed a bit, but this part is effectively the |
This is a minor thing, but should be fixed. |
The text was updated successfully, but these errors were encountered: