aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2008-06-26 07:31:52 +0000
committerMartin Willi <martin@strongswan.org>2008-06-26 07:31:52 +0000
commit854a2e176039a255ef43134e8e9c5027e9cea9b6 (patch)
treec2c126f2d4dadc4724fe4ddef72b47572ccf9607 /src
parent236083cb56544162264723deb07ad3c2af6a50d8 (diff)
downloadstrongswan-854a2e176039a255ef43134e8e9c5027e9cea9b6.tar.bz2
strongswan-854a2e176039a255ef43134e8e9c5027e9cea9b6.tar.xz
fixed ifndef typo for MYSQL_DATA_TRUNCATED check
Diffstat (limited to 'src')
-rw-r--r--src/libstrongswan/plugins/mysql/mysql_database.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstrongswan/plugins/mysql/mysql_database.c b/src/libstrongswan/plugins/mysql/mysql_database.c
index 530ff5dd4..c1744c7c8 100644
--- a/src/libstrongswan/plugins/mysql/mysql_database.c
+++ b/src/libstrongswan/plugins/mysql/mysql_database.c
@@ -29,7 +29,7 @@
/* Older mysql.h headers do not define it, but we need it. It is not returned
* in in MySQL 4 by default, but by MySQL 5. To avoid this problem, we catch
* it in all cases. */
-#ifdef MYSQL_DATA_TRUNCATED
+#ifndef MYSQL_DATA_TRUNCATED
#define MYSQL_DATA_TRUNCATED 101
#endif