Merge the generated has_<name> fields into a single one.
git-svn-id: https://svn.kapsi.fi/jpa/nanopb-dev@1008 e3a754e5-d11d-0410-8d38-ebb782a927b9
This commit is contained in:
committed by
Petteri Aimonen
parent
43b8e20744
commit
8e5337e9ef
@@ -67,13 +67,13 @@ void handle_connection(int connfd)
|
||||
{
|
||||
perror("opendir");
|
||||
|
||||
response.has_path_error = true;
|
||||
ListFilesResponse_set(response, path_error);
|
||||
response.path_error = true;
|
||||
response.file.funcs.encode = NULL;
|
||||
}
|
||||
else
|
||||
{
|
||||
response.has_path_error = false;
|
||||
ListFilesResponse_clear(response, path_error);
|
||||
response.file.funcs.encode = &listdir_callback;
|
||||
response.file.arg = directory;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user