fix typo in function name (issue #5437)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6758 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2005-10-13 18:01:31 +00:00
parent bb49ec837f
commit 6fea13619e
2 changed files with 3 additions and 3 deletions

View File

@@ -50,7 +50,7 @@ struct odbc_obj {
odbc_obj *new_odbc_obj(char *name,char *dsn,char *username, char *password);
odbc_status odbc_obj_connect(odbc_obj *obj);
odbc_status odbc_obj_disconnect(odbc_obj *obj);
void destroy_obdc_obj(odbc_obj **obj);
void destroy_odbc_obj(odbc_obj **obj);
int register_odbc_obj(char *name,odbc_obj *obj);
odbc_obj *fetch_odbc_obj(const char *name, int check);
int odbc_dump_fd(int fd,odbc_obj *obj);

View File

@@ -62,7 +62,7 @@ static void odbc_destroy(void)
for (x = 0; x < MAX_ODBC_HANDLES; x++) {
if (ODBC_REGISTRY[x].obj) {
destroy_obdc_obj(&ODBC_REGISTRY[x].obj);
destroy_odbc_obj(&ODBC_REGISTRY[x].obj);
ODBC_REGISTRY[x].obj = NULL;
}
}
@@ -401,7 +401,7 @@ odbc_obj *new_odbc_obj(char *name, char *dsn, char *username, char *password)
return new;
}
void destroy_obdc_obj(odbc_obj **obj)
void destroy_odbc_obj(odbc_obj **obj)
{
odbc_obj_disconnect(*obj);