Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
libvncserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rasky
libvncserver
Commits
ac33a29f
Commit
ac33a29f
authored
Jun 19, 2009
by
runge
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
ssh://runge@libvncserver.git.sourceforge.net/gitroot/libvncserver
parents
61383c50
ef331826
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
vncviewer.c
libvncclient/vncviewer.c
+4
-2
No files found.
libvncclient/vncviewer.c
View file @
ac33a29f
...
...
@@ -111,10 +111,9 @@ rfbClient* rfbGetClient(int bitsPerSample,int samplesPerPixel,
return
NULL
;
}
initAppData
(
&
client
->
appData
);
client
->
programName
=
NULL
;
client
->
endianTest
=
1
;
client
->
programName
=
""
;
client
->
serverHost
=
""
;
client
->
serverHost
=
strdup
(
""
)
;
client
->
serverPort
=
5900
;
client
->
CurrentKeyboardLedState
=
0
;
...
...
@@ -265,6 +264,9 @@ rfbBool rfbInitClient(rfbClient* client,int* argc,char** argv) {
}
else
{
char
*
colon
=
strchr
(
argv
[
i
],
':'
);
if
(
client
->
serverHost
)
free
(
client
->
serverHost
);
if
(
colon
)
{
client
->
serverHost
=
strdup
(
argv
[
i
]);
client
->
serverHost
[(
int
)(
colon
-
argv
[
i
])]
=
'\0'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment