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
e66f28fc
Commit
e66f28fc
authored
Aug 18, 2003
by
dscho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
socklen_t -> size_t
parent
7dc44503
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
httpd.c
httpd.c
+2
-2
main.c
main.c
+1
-1
rfbserver.c
rfbserver.c
+1
-1
sockets.c
sockets.c
+1
-1
No files found.
httpd.c
View file @
e66f28fc
...
...
@@ -123,7 +123,7 @@ httpCheckFds(rfbScreenInfoPtr rfbScreen)
fd_set
fds
;
struct
timeval
tv
;
struct
sockaddr_in
addr
;
s
ocklen
_t
addrlen
=
sizeof
(
addr
);
s
ize
_t
addrlen
=
sizeof
(
addr
);
if
(
!
rfbScreen
->
httpDir
)
return
;
...
...
@@ -208,7 +208,7 @@ static void
httpProcessInput
(
rfbScreenInfoPtr
rfbScreen
)
{
struct
sockaddr_in
addr
;
s
ocklen
_t
addrlen
=
sizeof
(
addr
);
s
ize
_t
addrlen
=
sizeof
(
addr
);
char
fullFname
[
512
];
char
params
[
1024
];
char
*
ptr
;
...
...
main.c
View file @
e66f28fc
...
...
@@ -323,7 +323,7 @@ listenerRun(void *data)
int
client_fd
;
struct
sockaddr_in
peer
;
rfbClientPtr
cl
;
s
ocklen
_t
len
;
s
ize
_t
len
;
len
=
sizeof
(
peer
);
...
...
rfbserver.c
View file @
e66f28fc
...
...
@@ -227,7 +227,7 @@ rfbNewTCPOrUDPClient(rfbScreen,sock,isUDP)
rfbClientIteratorPtr
iterator
;
rfbClientPtr
cl
,
cl_
;
struct
sockaddr_in
addr
;
s
ocklen
_t
addrlen
=
sizeof
(
struct
sockaddr_in
);
s
ize
_t
addrlen
=
sizeof
(
struct
sockaddr_in
);
int
i
;
cl
=
(
rfbClientPtr
)
calloc
(
sizeof
(
rfbClientRec
),
1
);
...
...
sockets.c
View file @
e66f28fc
...
...
@@ -195,7 +195,7 @@ rfbCheckFds(rfbScreenInfoPtr rfbScreen,long usec)
fd_set
fds
;
struct
timeval
tv
;
struct
sockaddr_in
addr
;
s
ocklen
_t
addrlen
=
sizeof
(
addr
);
s
ize
_t
addrlen
=
sizeof
(
addr
);
char
buf
[
6
];
const
int
one
=
1
;
int
sock
;
...
...
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