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>
Sun, 28 Apr 2019 22:08:52 +0000 (18:08 -0400)
commit69e3a560d3063497c161ae00a9875dad1d546818
treebc837b1b05a5cb4ce07458885fd9d143ad058532
parent0e63136b82364512210f497c60a0cc98a9d57fd7
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.0265 seconds and 4 git commands to generate.