From 99d21d5b62a54d64b95dc915a35fb35111bbc430 Mon Sep 17 00:00:00 2001 From: Byron Nikolaidis Date: Wed, 3 Jun 1998 20:33:45 +0000 Subject: Update odbc driver to current version V.0244 --- src/interfaces/odbc/misc.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/interfaces/odbc/misc.h') diff --git a/src/interfaces/odbc/misc.h b/src/interfaces/odbc/misc.h index b9047f16ff5..b9e81d44642 100644 --- a/src/interfaces/odbc/misc.h +++ b/src/interfaces/odbc/misc.h @@ -1,11 +1,11 @@ - -/* File: misc.h - * - * Description: See "misc.c" - * - * Comments: See "notice.txt" for copyright and license information. - * - */ + +/* File: misc.h + * + * Description: See "misc.c" + * + * Comments: See "notice.txt" for copyright and license information. + * + */ #ifndef __MISC_H__ #define __MISC_H__ @@ -23,7 +23,7 @@ /* Uncomment Q_LOG to compile in the qlog() statements (Communications log, i.e. CommLog). This logfile contains serious log statements that are intended for an end user to be able to read and understand. It is controlled by the - 'CommLog' flag in the ODBCINST.INI portion of the registry (see above), + 'CommLog' flag in the ODBCINST.INI portion of the registry (see above), which is manipulated on the setup/connection dialog boxes. */ #define Q_LOG @@ -42,7 +42,7 @@ void qlog(); /* prototype */ #endif void remove_newlines(char *string); -char *strncpy_null(char *dst, const char *src, size_t len); +char *strncpy_null(char *dst, const char *src, int len); char *trim(char *string); char *make_string(char *s, int len, char *buf); char *my_strcat(char *buf, char *fmt, char *s, int len); @@ -53,6 +53,6 @@ char *my_strcat(char *buf, char *fmt, char *s, int len); #define STRCPY_TRUNCATED -1 #define STRCPY_NULL -2 -int my_strcpy(char *dst, size_t dst_len, char *src, size_t src_len); +int my_strcpy(char *dst, int dst_len, char *src, int src_len); #endif -- cgit v1.2.3