[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    Re: can you explain me this behavior? (freeradius+oracle)
From:       "victor" <victor () fadata ! bg>
Date:       2001-09-26 9:01:26
[Download RAW message or body]

The patch isn't working, but i tried to move the line 
(inst->module->sql_finish_select_query)(sqlsocket, inst->config);

in rlm_sql.c after all checks are done. It's now look like:
----
...
release_and_return:
        (inst->module->sql_finish_select_query)(sqlsocket, inst->config);
        sql_release_socket(inst, sqlsocket);

return_only:
        return(retval);
}
----

I've also changed all "goto return_only;" to "goto release_and_return;"
aand it works now.
I still don't know how to make some better tests.




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic