Merge pull request #10 from tomstokes/master
Fix segfaults in Python module on unknown error codes
This commit is contained in:
commit
8111342423
|
@ -97,7 +97,8 @@ const char * strupnperror(int err)
|
|||
s = "ExternalPortOnlySupportsWildcard";
|
||||
break;
|
||||
default:
|
||||
s = NULL;
|
||||
s = "UnknownError";
|
||||
break;
|
||||
}
|
||||
return s;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue