[X2Go-Commits] libpam-x2go.git - x2gosession (branch) updated: d4ba1e134fcce95f8b7983fa9fba6d9d18f8f68b
X2Go dev team
git-admin at x2go.org
Wed Apr 24 18:47:23 CEST 2013
The branch, x2gosession has been updated
via d4ba1e134fcce95f8b7983fa9fba6d9d18f8f68b (commit)
from 4262a0309076b1db2eb15adfbc04b62126e39cf1 (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/freerdp-auth-check.c | 9 +++++++++
1 file changed, 9 insertions(+)
The diff of changes is:
diff --git a/src/freerdp-auth-check.c b/src/freerdp-auth-check.c
index 83bab2f..d50833b 100644
--- a/src/freerdp-auth-check.c
+++ b/src/freerdp-auth-check.c
@@ -79,6 +79,15 @@ main (int argc, char * argv[])
instance->settings->password = password;
instance->settings->ignore_certificate = true;
+ char * colonloc = strstr(argv[1], ":");
+ if (colonloc != NULL) {
+ /* We've got a port to deal with */
+ colonloc[0] = '\0';
+ colonloc++;
+
+ instance->settings->port = strtoul(colonloc, NULL, 10);
+ }
+
if (freerdp_connect(instance)) {
freerdp_disconnect(instance);
return 0;
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