Nope, the ast_db_get return -1 on failure.
The code is ok.

Sergio

asterisk_on_oelf ha scritto:


Is it possible, that you mean:

"if (!ast_db_get("SCCP", d->id, result, sizeof(result))) {"

instead of

"if (ast_db_get("SCCP", d->id, result, sizeof(result))) {"

in line 222 sccp_utils.c


_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to