Ok, so something similar to this would make sense I guess:
gw/smsc/smsc_emi.c: dlr_add((conn->id ? conn->id : privdata->name), ts, m);
I think on most if not all SMSC's connections the id is a mandatory parameter anyway. So unless it's not mandatory, the "id" would make more sense.
Regards, -- Alejandro Guerrieri [email protected] On 04/05/2009, at 19:58, Andreas Fink wrote:
gw/smsc/smsc_emi.c: dlr_add((conn->id ? conn->id : privdata- >name), ts, m);
