Coverity Report: Fix issues for error type REVERSE_INULL (deprecated modules)
authorRichard Mudgett <rmudgett@digium.com>
Tue, 29 May 2012 22:37:19 +0000 (22:37 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 29 May 2012 22:37:19 +0000 (22:37 +0000)
commit77f5e86e4d6f487bf13b9db255d0470c89ec22b9
treed2e503a6b65e233ae49908e4f5b49d037b5affd8
parent94187aafc0953c19e738c6f08b0c6c77ee63170c
Coverity Report: Fix issues for error type REVERSE_INULL (deprecated modules)

* Fix only issue pointed out by deprecated_REVERSE_INULL.txt for
app_meetme.c in find_user().

* Change use of %i to %d in sscanf() in find_user().  The use of %i gives
unexpected parsing because it can accept hex, octal, and decimal integer
formats.

* Changed other uses of %i in app_meetme() to use %d for consistency.

(issue ASTERISK-19648)
Reported by: Matt Jordan
........

Merged revisions 367906 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 367907 from http://svn.asterisk.org/svn/asterisk/branches/10

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