]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_odbc: Show only when there a fail attempt of connection in CLI 49/3449/1
authorRodrigo Ramírez Norambuena <a@rodrigoramirez.com>
Sat, 6 Aug 2016 06:37:35 +0000 (02:37 -0400)
committerRodrigo Ramirez Norambuena <a@rodrigoramirez.com>
Tue, 9 Aug 2016 22:12:12 +0000 (17:12 -0500)
commitc2652d05d9432118c5397e55091ed66c23205069
tree84a11042dfc99b46a8a98c6e9d3fbfb12e367a65
parent00a0101f2a409e19d26885e8d63d53a64a20a5f1
res_odbc: Show only when there a fail attempt of connection in CLI

When is executed CLI command "odbc show all" every time is show
information about variable last_negative_connect. If not there  a fail
attempt of connection will show date like "1969-12-31 21:00:00".

This patch fix there situation for to show only this information when
exists a fail attempt before.

Change-Id: I7c058b0be6f7642e922de75ee6b82c7276c9f113
res/res_odbc.c