projects
/
pazpar2-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Init winsock. Incorporate ICU. Pazpar2 runs on Windows.
[pazpar2-moved-to-github.git]
/
src
/
connection.c
diff --git
a/src/connection.c
b/src/connection.c
index
9a152b0
..
c330155
100644
(file)
--- a/
src/connection.c
+++ b/
src/connection.c
@@
-183,7
+183,7
@@
static void connection_handler(IOCHAN i, int event)
int errcode;
socklen_t errlen = sizeof(errcode);
- if (getsockopt(cs_fileno(co->link), SOL_SOCKET, SO_ERROR, &errcode,
+ if (getsockopt(cs_fileno(co->link), SOL_SOCKET, SO_ERROR, (char*) &errcode,
&errlen) < 0 || errcode != 0)
{
client_fatal(cl);