aboutsummaryrefslogtreecommitdiff
path: root/src/mysql.c
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2013-07-12 22:29:27 +0300
committerSergey Poznyakoff <gray@gnu.org.ua>2013-07-12 22:29:27 +0300
commit5abb378643814f9ac1170cbdc76098ba4f19a134 (patch)
tree1d0821d3ea56de9f9c48862d24eeb9cfae894208 /src/mysql.c
parentbb2c4771f754bcf8a25a26ba6a614386add8fc2e (diff)
downloadvmod-dbrw-5abb378643814f9ac1170cbdc76098ba4f19a134.tar.gz
vmod-dbrw-5abb378643814f9ac1170cbdc76098ba4f19a134.tar.bz2
Lint
Diffstat (limited to 'src/mysql.c')
-rw-r--r--src/mysql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mysql.c b/src/mysql.c
index 9f304a6..1173b3a 100644
--- a/src/mysql.c
+++ b/src/mysql.c
@@ -80,7 +80,7 @@ s_mysql_connect(struct dbrw_connection *conn)
struct vmod_mysql_data *mp = conn->data;
char *host, *socket_name = NULL;
char *s;
- int port;
+ int port = 0;
mp->mysql = malloc(sizeof(MYSQL));
if (!mp->mysql) {

Return to:

Send suggestions and report system problems to the System administrator.