summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabiano Fidêncio <fidencio@redhat.com>2016-08-24 13:32:10 +0200
committerLukas Slebodnik <lslebodn@redhat.com>2016-08-27 10:00:03 +0200
commit9900d2b153ebb7d994ccd05275f18b973556d5b3 (patch)
treef731a5c6146c32a5c633bf8d1424ed2829fb3291
parent221d70ae3c5b7bc7384f57ffd3f88f89a3e6ae6a (diff)
downloadsssd-9900d2b153ebb7d994ccd05275f18b973556d5b3.tar.gz
sssd-9900d2b153ebb7d994ccd05275f18b973556d5b3.tar.xz
sssd-9900d2b153ebb7d994ccd05275f18b973556d5b3.zip
PROXY: Mention that save_user()'s parameters are already qualified
Those comments are similar to what we have in the save_group() function. Related: https://fedorahosted.org/sssd/ticket/3134 Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
-rw-r--r--src/providers/proxy/proxy_id.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/providers/proxy/proxy_id.c b/src/providers/proxy/proxy_id.c
index c4d68f8e6..921b5253a 100644
--- a/src/providers/proxy/proxy_id.c
+++ b/src/providers/proxy/proxy_id.c
@@ -223,8 +223,9 @@ delete_user(struct sss_domain_info *domain,
}
static int save_user(struct sss_domain_info *domain,
- struct passwd *pwd, const char *real_name,
- const char *alias)
+ struct passwd *pwd,
+ const char *real_name, /* already qualified */
+ const char *alias) /* already qualified */
{
const char *shell;
const char *gecos;