aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-06 00:45:15 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-05-06 00:45:15 +0200
commit9d1efacc7353f795599286e19590152936f313dd (patch)
tree08a2febf068692a83112745cd01c4cf8b85e2cc4
parent462f687985debfa104c58410304c36ce0fe292e0 (diff)
downloadlibpam-freerdp2-9d1efacc7353f795599286e19590152936f313dd.tar.gz
libpam-freerdp2-9d1efacc7353f795599286e19590152936f313dd.tar.bz2
libpam-freerdp2-9d1efacc7353f795599286e19590152936f313dd.zip
src/pam-freerdp2.c: Comment improvements.
-rw-r--r--src/pam-freerdp2.c8
1 files 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);
}