From fef7e6daee81ea70ccd5068d0043426aea75cb30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Mon, 19 Nov 2018 11:53:53 +0200 Subject: [PATCH] Fixed parentesis in SQLite3_Server --- lib/SQLite3_Server.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/SQLite3_Server.cpp b/lib/SQLite3_Server.cpp index cf8c9efcc..36c61231e 100644 --- a/lib/SQLite3_Server.cpp +++ b/lib/SQLite3_Server.cpp @@ -750,12 +750,13 @@ bool SQLite3_Server::set_variable(char *name, char *value) { // this is the pub if (vallen) { bool update_creds=false; if ((variables.mysql_ifaces==NULL) || strcasecmp(variables.mysql_ifaces,value) ) update_creds=true; - if (variables.mysql_ifaces) + if (variables.mysql_ifaces) { free(variables.mysql_ifaces); variables.mysql_ifaces=strdup(value); if (update_creds && variables.mysql_ifaces) { S_amll.update_ifaces(variables.mysql_ifaces, &S_amll.ifaces_mysql); } + } return true; } else { return false;