Fixed an issue where an unresetted geterror in combination with a null connection causes
to many log messages.
This commit is contained in:
@ -768,7 +768,9 @@ static hdbCallbackReturn SctMainCallback(Hdb * node, void *userData,
|
||||
geterror = GetHdbProp(node, "geterror");
|
||||
if (geterror != NULL) {
|
||||
snprintf(error,255,"ERROR: %s", geterror);
|
||||
if(con != NULL){
|
||||
SCWrite(con, error, eError);
|
||||
}
|
||||
if (mm->v->dataType == HIPTEXT) {
|
||||
if (mm->v->v.text != NULL) {
|
||||
free(mm->v->v.text);
|
||||
|
Reference in New Issue
Block a user