Merge pull request #3 from urbach/upstream

this will consistenly treat GSL error codes