Check-in Number:
|
2937 | |
Date: |
2002-Nov-29 15:50:21 (local)
2002-Nov-29 14:50:21 (UTC) |
User: | mlelstv |
Branch: | |
Comment: |
fix cut&paste
fix signed error (return value of read != size_t)
PR:
Submitted by:
Reviewed by:
Approved by:
Obtained from: |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/sio/sio_fd.c 1.11 -> 1.12
--- sio_fd.c 2002/11/29 13:00:18 1.11
+++ sio_fd.c 2002/11/29 14:50:21 1.12
@@ -133,11 +133,11 @@
}
static
-sio_rc_t fd_input(sio_t *sio, al_t *al, void *u)
+sio_rc_t fd_input(sio_t *sio, al_t *al, void *u, sio_rc_t orc)
{
private_t *my = (private_t *)u;
buffer_t *buf = &my->input;
- size_t actual;
+ int actual;
actual = read(my->fd, buf->mem, buf->size);
if (actual < 0) {
@@ -154,7 +154,7 @@
}
static
-al_rc_t fd_output_chunk(al_chunk_t *alc, void *u, sio_rc_t orc)
+al_rc_t fd_output_chunk(al_chunk_t *alc, void *u)
{
private_t *my = (private_t *)u;
char *p;
|
|