[X2Go-Commits] libpam-x2go.git - build-main (branch) updated: 4262a0309076b1db2eb15adfbc04b62126e39cf1
X2Go dev team
git-admin at x2go.org
Sat Apr 27 13:45:29 CEST 2013
The branch, build-main has been updated
via 4262a0309076b1db2eb15adfbc04b62126e39cf1 (commit)
from 6b495327f20269cc353ec20d424ecd0d68e58541 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
src/pam-freerdp.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
The diff of changes is:
diff --git a/src/pam-freerdp.c b/src/pam-freerdp.c
index 2550767..440ee40 100644
--- a/src/pam-freerdp.c
+++ b/src/pam-freerdp.c
@@ -88,9 +88,10 @@ get_item (pam_handle_t * pamh, int type)
free(responses);
if (type == PAM_RHOST) {
- if (strncmp(retval, "http://", strlen("http://")) == 0) {
+ char * subloc = NULL;
+ if ((subloc = strstr(retval, "://")) != NULL) {
char * original = retval;
- char * newish = retval + strlen("http://");
+ char * newish = retval + strlen("://");
char * c;
for (c = newish; *c != '\0'; c++) {
if (*c == '/') {
hooks/post-receive
--
libpam-x2go.git (Remote login session via X2Go (PAM module))
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "libpam-x2go.git" (Remote login session via X2Go (PAM module)).
More information about the x2go-commits
mailing list