while working on pua_rpc module, i think i found a bug in
pua/send_publish function. it defines
int ret = -1;
if etag check fails or publish has no body, it does this:
ret = 418;
goto error;
or
ret = ERR_PUBLISH_NO_BODY;
goto error;
at error, however, the above assignments are reverted:
error:
ret = -1;
my suggestion is to remove the above assignment. ok?
-- juha