Skip to content
Snippets Groups Projects
Commit 5697f4f2 authored by Steven Murray's avatar Steven Murray Committed by Steven Murray
Browse files

Fixed a bug in sstrerror()

I introduced a bug into sstrerror() when I added error checking code
around the call to Cglobals_get().  The hash of the offending commit is:

051afce9

Before my so say improvements, the return value of Cglobals_get() was
not checked.  I added a check that assumed an error had occured if the
return value was non-zero.  Unfortuntaley for me, the return values 0
and 1 both mean success.  A return value of -1 signifies a failure.
parent 36f87080
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment