[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnu-radius] ODBC in 0.96.4
From: |
Max Speransky |
Subject: |
Re: [Help-gnu-radius] ODBC in 0.96.4 |
Date: |
Thu, 30 Jan 2003 18:05:39 +0200 |
User-agent: |
Mutt/1.4i |
On Thu, Jan 30, 2003 at 05:06:31PM +0200, Sergey Poznyakoff wrote:
>
>Hmm, it was a *very* nasty bug. Thank you for reporting it.
>Enclosed is a patch, please let me know if it works for you.
Works fine, thank's !
>
>Regards,
>Sergey
>
>Index: sql/odbc.c
>===================================================================
>RCS file: /cvsroot/radius/radius/sql/odbc.c,v
>retrieving revision 1.2
>diff -p -u -w -b -r1.2 odbc.c
>--- odbc.c 28 Dec 2001 14:47:21 -0000 1.2
>+++ odbc.c 30 Jan 2003 15:04:20 -0000
>@@ -343,7 +343,7 @@ rad_odbc_column(data, ncol)
> return NULL;
> }
>
>- SQLGetData(edata->stmt,ncol+1,SQL_C_CHAR,
>+ result = SQLGetData(edata->stmt,ncol+1,SQL_C_CHAR,
> buffer, sizeof buffer, &size);
> if (result != SQL_SUCCESS) {
> rad_odbc_diag(SQL_HANDLE_STMT, edata->stmt,
--
... All opinions expressed are mine and not those of my employer.
Yours, Max [Msg N 1924]
-------------------------------------------
mailto: address@hidden phone: +380-44-2054455