fixed crash when using mysql (call to Providername() was omitted)

This commit is contained in:
paul 1998-09-09 12:49:31 +00:00
parent a4bb4a7c8d
commit e2dda05c75
1 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $Id: functions.c,v 1.13 1998/06/21 11:52:43 akool Exp $
/* $Id: functions.c,v 1.14 1998/09/09 12:49:31 paul Exp $
*
* ISDN accounting for isdn4linux. (log-module)
*
@ -19,6 +19,9 @@
* along with this program; if not, write to the Free Software
*
* $Log: functions.c,v $
* Revision 1.14 1998/09/09 12:49:31 paul
* fixed crash when using mysql (call to Providername() was omitted)
*
* Revision 1.13 1998/06/21 11:52:43 akool
* First step to let isdnlog generate his own AOCD messages
*
@ -310,7 +313,7 @@ void logger(int chan)
mysql_db_set.currency_factor = currency_factor;
strcpy(mysql_db_set.currency, currency);
mysql_db_set.pay = call[chan].pay;
strcpy(mysql_db_set.provider, call[chan].provider);
strcpy(mysql_db_set.provider, Providername(call[chan].provider));
mysql_dbAdd(&mysql_db_set);
#endif
} /* logger */