projects
/
cert-checker.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5a27644
)
Fixed warning on amd64.
author
Ladislav Láska
<ladislav.laska@gmail.com>
Tue, 12 Oct 2010 13:44:54 +0000
(15:44 +0200)
committer
Ladislav Láska
<ladislav.laska@gmail.com>
Tue, 12 Oct 2010 13:44:54 +0000
(15:44 +0200)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index 8200be56bb29f23e25d876f347ae9a3bf5b9a802..9598d2ecb3b6411ff5c284626e64e8e7b5776d2d 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-105,7
+105,7
@@
int check( char * hostname, char *service ) {
/* Connect to server */
-
int
fd = tcp_open( hostname, service );
+
long
fd = tcp_open( hostname, service );
if (fd == -1) {
state= S_UNREACHABLE;