From 9d1efacc7353f795599286e19590152936f313dd Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sun, 6 May 2018 00:45:15 +0200 Subject: src/pam-freerdp2.c: Comment improvements. --- src/pam-freerdp2.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pam-freerdp2.c b/src/pam-freerdp2.c index 9d19b2e..5f13c3b 100644 --- a/src/pam-freerdp2.c +++ b/src/pam-freerdp2.c @@ -144,9 +144,9 @@ get_item (pam_handle_t * pamh, int type) } /* The way that xfreerdp does parsing means that we can't handle - spaces in the username. Let's block them as early as possible. + spaces in the username. Let's block them as early as possible. Though, if the xfreerdp part gets fixed, we want this to disappear - http://launchpad.net/bugs/1053102 + http://launchpad.net/bugs/1053102 */ if (type == PAM_TYPE_RDP_USER) { if (strstr(promptval, " ") != NULL) { @@ -180,7 +180,7 @@ get_item (pam_handle_t * pamh, int type) pam_get_item(pamh, type, (const void **)&retval); } if (type == PAM_TYPE_RDP_USER) { - /* The domain can be saved globally so we can use it for open */ + /* The user can be saved globally so we can use it for open */ if (global_rdp_user != NULL) { free(global_rdp_user); } @@ -188,7 +188,7 @@ get_item (pam_handle_t * pamh, int type) retval = global_rdp_user; } if (type == PAM_TYPE_RDP_SERVER) { - /* The domain can be saved globally so we can use it for open */ + /* The server can be saved globally so we can use it for open */ if (global_rdp_server != NULL) { free(global_rdp_server); } -- cgit v1.2.3