Displaying 1 result from an estimated 1 matches for "err_no_error".
2009 Feb 04
2
[nut-commits] svn commit r1765 - in trunk: . drivers man
...the code for 2.4.0 in the
> microdowell.c.
Besides the things already mentioned by others and the obvious
formatting issue, just a couple of nits to pick:
> 93 static char *ErrMessages[] = {
[...]
> 187 }
Consider returning the error message through something like
> 124 case ERR_NO_ERROR:
> 125 return "OK";
instead of doing this indirectly through an index in an array of error
strings. This makes sure these don't get out of sync.
> 547 dstate_setinfo("ups.StatusUPS", "%08lX",
> ups.StatusUPS) ;
> 548...