projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbbc1af
)
Removed unused variable and incorrect comment.
author
Armin Novak
<armin.novak@thincast.com>
Tue, 23 Jun 2015 14:04:15 +0000
(16:04 +0200)
committer
Armin Novak
<armin.novak@thincast.com>
Tue, 23 Jun 2015 14:20:59 +0000
(16:20 +0200)
client/common/cmdline.c
patch
|
blob
|
history
diff --git
a/client/common/cmdline.c
b/client/common/cmdline.c
index
02f4ee0
..
f5b7e5f
100644
(file)
--- a/
client/common/cmdline.c
+++ b/
client/common/cmdline.c
@@
-969,7
+969,6
@@
int freerdp_parse_username(char* username, char** user, char** domain)
int length = 0;
p = strchr(username, '\\');
- u = strrchr(username, '@');
*user = NULL;
*domain = NULL;
@@
-1002,10
+1001,6
@@
int freerdp_parse_username(char* username, char** user, char** domain)
if (!*user)
return -1;
- /* If only username is given, prefix that with 'TARGET'
- * otherwise set the domain to an empty string.
- * NOTE: Domain NULL will result in undefined behavior.
- */
*domain = _strdup("\0");
if (!*domain)