[Asterisk-Dev] Broken apps/app_lookupcidname.c ?

Vassilis Konstantinou vassilis_konstantinou at btinternet.com
Sun Oct 3 04:57:08 MST 2004


It seems that apps/app_lookupcidname.c in the last CVS (today) needs some 
tidying up.

The statement
  if (!ast_db_get ("cidname", shrunknum, dbname, sizeof (dbname)))

should be

  if (!ast_db_get ("cidname", chan->cid.cid_num, dbname, sizeof (dbname)))

as shrunknum is empty :-)

Or at leats thhe shrunknum to be initialised properly

Vassilis






More information about the asterisk-dev mailing list