From 4b70423ce71dffbc2424b1e4fdb0bdd41757d4a6 Mon Sep 17 00:00:00 2001 From: randomdan Date: Fri, 18 Jun 2010 23:41:55 +0000 Subject: Use cgicc, add checks, tasks, dynamic loader, atom feed, login page --- libodbcpp/column.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libodbcpp/column.cpp b/libodbcpp/column.cpp index c94c25d..b92689c 100644 --- a/libodbcpp/column.cpp +++ b/libodbcpp/column.cpp @@ -157,7 +157,7 @@ namespace ODBC { *buf = (char *)malloc(300); struct tm t; t << value; - return strftime(*buf, sizeof(*buf), fmt, &t); + return strftime(*buf, 300, fmt, &t); } template <> int -- cgit v1.2.3