]> rtime.felk.cvut.cz Git - frescor/forb.git/commit
Fix error reporting in protocols
authorMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 27 May 2009 17:01:21 +0000 (19:01 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Wed, 27 May 2009 20:30:09 +0000 (22:30 +0200)
commit5f097748511a548bd7b9f8e1638ce5d4aac28662
tree33c390638ea82eb67cb04135ae5bd4957e7362e0
parent640cfa549d13d5d04f8151f3b2a80b0d5e7c18ea
Fix error reporting in protocols

Error is reported by returning -1, but size_t is unsigned type. All the
needed prototypes were changed to return signed ssize_t.
src/iop.c
src/proto.c
src/proto.h
src/proto_inet.c
src/proto_unix.c