diff src/auth/db-sql.c @ 4295:4fc637010202 HEAD

Escape SQL strings using sql_escape_string(). Fixes the problems with PostgreSQL.
author Timo Sirainen <tss@iki.fi>
date Wed, 31 May 2006 14:03:53 +0300
parents af15aab60ff1
children a916c98dc910
line wrap: on
line diff
--- a/src/auth/db-sql.c	Wed May 31 14:02:50 2006 +0300
+++ b/src/auth/db-sql.c	Wed May 31 14:03:53 2006 +0300
@@ -5,6 +5,7 @@
 #if defined(PASSDB_SQL) || defined(USERDB_SQL)
 
 #include "settings.h"
+#include "auth-request.h"
 #include "db-sql.h"
 
 #include <stddef.h>