mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-27 06:31:54 +00:00
Parentheses around assignment used as truth value, introduced in r290937.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290938 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1528,7 +1528,7 @@ static int load_mysql_config(struct ast_config *config, const char *category, st
|
||||
} else
|
||||
ast_copy_string(conn->sock, s, sizeof(conn->sock));
|
||||
|
||||
if (s = ast_variable_retrieve(config, category, "dbcharset")) {
|
||||
if ((s = ast_variable_retrieve(config, category, "dbcharset"))) {
|
||||
ast_copy_string(conn->charset, s, sizeof(conn->charset));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user