git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
adf05f3
)
- retyped some returned values
author
Jiří Škrábal
<nykolas@ics.muni.cz>
Fri, 19 Nov 2004 07:14:30 +0000
(07:14 +0000)
committer
Jiří Škrábal
<nykolas@ics.muni.cz>
Fri, 19 Nov 2004 07:14:30 +0000
(07:14 +0000)
org.glite.lb.common/src/lb_plain_io.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.common/src/lb_plain_io.c
b/org.glite.lb.common/src/lb_plain_io.c
index
c2aa061
..
dba91c6
100644
(file)
--- a/
org.glite.lb.common/src/lb_plain_io.c
+++ b/
org.glite.lb.common/src/lb_plain_io.c
@@
-60,7
+60,7
@@
int edg_wll_plain_read(
size_t outbufsz,
struct timeval *to)
{
-
size_t
ct, toread = 0;
+
int
ct, toread = 0;
fd_set fds;
struct timeval timeout, before, after;
@@
-150,7
+150,7
@@
int edg_wll_plain_read_full(
}
while ( total < outbufsz ) {
-
size_
t ct = edg_wll_plain_read(conn, outbuf+total, outbufsz-total, to);
+
in
t ct = edg_wll_plain_read(conn, outbuf+total, outbufsz-total, to);
if ( ct < 0) return ct;
total += ct;
}
@@
-165,7
+165,7
@@
int edg_wll_plain_write_full(
struct timeval *to)
{
size_t written = 0;
-
ssize_t
ct = -1;
+
int
ct = -1;
fd_set fds;
struct timeval timeout, before, after;