various cleanups:
authorKevin P. Fleming <kpfleming@digium.com>
Thu, 27 Jul 2006 22:20:52 +0000 (22:20 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Thu, 27 Jul 2006 22:20:52 +0000 (22:20 +0000)
commit22d37976f2b31ae56963a526f530b985e346e1df
tree40bdb8c430bbbf277f5efdcfd885a5cc712bc0a5
parent01e006c33c21145509216555147f6709c0a063b7
various cleanups:
  use API call for finding channel by name prefix
  code formatting to match guidelines (lost about half the of the indenting)
  remove useless automatic variable initializations
  don't set the spying channel's read format to SLINEAR when we don't do anything with the voice frames we read from it anyway
  use proper option argument checking for volume argument

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38368 65c4cc65-6c06-0410-ace0-fbb531ad65f3
apps/app_chanspy.c