pjsip_cli: Suppress header print on error or no objects
authorGeorge Joseph <george.joseph@fairview5.com>
Mon, 29 Sep 2014 22:00:38 +0000 (22:00 +0000)
committerGeorge Joseph <george.joseph@fairview5.com>
Mon, 29 Sep 2014 22:00:38 +0000 (22:00 +0000)
commit27396a6b59bc61130c7f62c19dd76c659ebc71d1
treee2990231ebb7025243887f6bf49f34ec9d2bffb0
parentb56dfb78c5e6142c1071e73c91002a23fbf1b032
pjsip_cli: Suppress header print on error or no objects

If there's an error on the pjsip command line or there are no objects, don't
print the column headers.

ASTERISK-24350 #close
Reported-by: Brad Latus
Tested-by: George Joseph
Tested-by: Brad Latus

Review: https://reviewboard.asterisk.org/r/4025/
........

Merged revisions 424128 from http://svn.asterisk.org/svn/asterisk/branches/12
........

Merged revisions 424129 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@424130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_pjsip/pjsip_cli.c