Merge pull request #10 from tomstokes/master

Fix segfaults in Python module on unknown error codes
This commit is contained in:
Thomas BERNARD 2012-03-13 10:19:27 -07:00
commit 8111342423
1 changed files with 2 additions and 1 deletions

View File

@ -97,7 +97,8 @@ const char * strupnperror(int err)
s = "ExternalPortOnlySupportsWildcard"; s = "ExternalPortOnlySupportsWildcard";
break; break;
default: default:
s = NULL; s = "UnknownError";
break;
} }
return s; return s;
} }