Fix: directory handle credentials parameter is not const
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 28 Apr 2019 22:06:11 +0000 (18:06 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 30 Apr 2019 19:09:57 +0000 (15:09 -0400)
commit6992f9f122f8bad7a1ed7ecb30b3f318a8ca8711
treead136e25172ee1c8ad2ab44cc879bebe4a07867f
parentcca0364545263c8c380aae7d869da940c10cdd92
Fix: directory handle credentials parameter is not const

There is no reason for the "as user" operations on a directory
handle not to take the credentials as a const parameter. Not
passing credentials as const makes their ownership ambiguous
and makes it harder to write const-correct code.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/common/compat/directory-handle.c
src/common/compat/directory-handle.h
src/common/utils.c
This page took 0.025772 seconds and 4 git commands to generate.