projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38b3aec
)
Fix that annoying warning about signedness.
author
Dave West
<davew@uncensored.citadel.org>
Sat, 24 Oct 2009 23:30:34 +0000
(23:30 +0000)
committer
Dave West
<davew@uncensored.citadel.org>
Sat, 24 Oct 2009 23:30:34 +0000
(23:30 +0000)
citadel/citserver.c
patch
|
blob
|
history
diff --git
a/citadel/citserver.c
b/citadel/citserver.c
index 94132babc1c2f85abb322641a384df3364ef94e6..13a40afc20ab02ec6f876bde253e715f7a281f13 100644
(file)
--- a/
citadel/citserver.c
+++ b/
citadel/citserver.c
@@
-999,7
+999,7
@@
void begin_session(struct CitContext *con)
{
/* as http://www.wsinnovations.com/softeng/articles/uds.html told us... */
struct ucred credentials;
-
in
t ucred_length = sizeof(struct ucred);
+
socklen_
t ucred_length = sizeof(struct ucred);
/*fill in the user data structure */
if(getsockopt(con->client_socket, SOL_SOCKET, SO_PEERCRED, &credentials, &ucred_length)) {