Oskar Sandberg wrote: 

> I also rewrote the two new CLI clients to handle usage and stuff. They
> still stacktrace on errors, but that is because I WANT the stacktraces
> when people have troubles until we release.

Hi Oskar,

>From what I've seen the clients currently return 0 regardless of the
outcome of the request/insert. Would you mind making them return
non-zero if the request/insert fails? A set of meaningful return codes
would *really* help - i.e., 1 = key already exists, 2 = timed out , etc.

I ask because I've been hacking a GTK+ wrapper for the new CLI clients,
and short of trapping and interpreting all the output (hard with
multiple threads) there's really no way to find out what went wrong.
Inserts are particularly nasty, because there's no file saved to check
for.


Mark Roberts
mroberts100 at mediaone.net

_______________________________________________
Freenet-dev mailing list
Freenet-dev at lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/freenet-dev

Reply via email to