]> rtime.felk.cvut.cz Git - frescor/fwp.git/commit
Fix error reporting of fwp_fna functions
authorMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 13 Aug 2009 11:02:03 +0000 (13:02 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Thu, 13 Aug 2009 11:02:03 +0000 (13:02 +0200)
commit52c0a4c44f33df4e9144b57ba0cde7f8f5a1f594
treeee75d31f0a67c9fcc86c7de7a5701984f6b1c894
parentd28234e93c9c447725265bb184bc89f14efd4209
Fix error reporting of fwp_fna functions

Return value of several functions was stored in a variable of unsigned
type size_t and later was checked to be less then zero, which was always
true. Now, we use signed type ssize_t for this cases.
fwp/lib/frsh_fwp/fwp_fna.c