summaryrefslogtreecommitdiff
path: root/libodbcpp/column.cpp
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2010-06-18 23:41:55 +0000
committerrandomdan <randomdan@localhost>2010-06-18 23:41:55 +0000
commit4b70423ce71dffbc2424b1e4fdb0bdd41757d4a6 (patch)
tree8bd02860fbf884d0f520ecd3073223798de6659b /libodbcpp/column.cpp
parentAdd support for composing Glib::ustrings from columns (diff)
downloadlibdbpp-odbc-4b70423ce71dffbc2424b1e4fdb0bdd41757d4a6.tar.bz2
libdbpp-odbc-4b70423ce71dffbc2424b1e4fdb0bdd41757d4a6.tar.xz
libdbpp-odbc-4b70423ce71dffbc2424b1e4fdb0bdd41757d4a6.zip
Use cgicc, add checks, tasks, dynamic loader, atom feed, login page
Diffstat (limited to 'libodbcpp/column.cpp')
-rw-r--r--libodbcpp/column.cpp2
1 files changed, 1 insertions, 1 deletions
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