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
97490d68
Commit
97490d68
authored
Apr 13, 2015
by
Benjamin Dürholt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed C++ style comments to C ones
parent
4c1bd4e7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
rfbssl_gnutls.c
libvncserver/rfbssl_gnutls.c
+1
-1
tight.c
libvncserver/tight.c
+1
-1
No files found.
libvncserver/rfbssl_gnutls.c
View file @
97490d68
...
@@ -109,7 +109,7 @@ struct rfbssl_ctx *rfbssl_init_global(char *key, char *cert)
...
@@ -109,7 +109,7 @@ struct rfbssl_ctx *rfbssl_init_global(char *key, char *cert)
gnutls_global_set_log_function
(
rfbssl_log_func
);
gnutls_global_set_log_function
(
rfbssl_log_func
);
gnutls_global_set_log_level
(
1
);
gnutls_global_set_log_level
(
1
);
gnutls_certificate_set_dh_params
(
ctx
->
x509_cred
,
ctx
->
dh_params
);
gnutls_certificate_set_dh_params
(
ctx
->
x509_cred
,
ctx
->
dh_params
);
/
/newly allocated memory should be initialized, at least where it is important
/
* newly allocated memory should be initialized, at least where it is important */
ctx
->
peekstart
=
ctx
->
peeklen
=
0
;
ctx
->
peekstart
=
ctx
->
peeklen
=
0
;
return
ctx
;
return
ctx
;
}
}
...
...
libvncserver/tight.c
View file @
97490d68
...
@@ -165,7 +165,7 @@ void rfbTightCleanup (rfbScreenInfoPtr screen)
...
@@ -165,7 +165,7 @@ void rfbTightCleanup (rfbScreenInfoPtr screen)
}
}
if
(
j
)
{
if
(
j
)
{
tjDestroy
(
j
);
tjDestroy
(
j
);
/
/Set freed resource handle to 0!
/
* Set freed resource handle to 0! */
j
=
0
;
j
=
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