Reverse order of args to fread.
authorMark Michelson <mmichelson@digium.com>
Wed, 16 Sep 2009 19:25:36 +0000 (19:25 +0000)
committerMark Michelson <mmichelson@digium.com>
Wed, 16 Sep 2009 19:25:36 +0000 (19:25 +0000)
commit19aeff195afa0ab232312d9d78ea148c9d89d184
tree17b6a6e6d76d51b37de9fddbb32d05357798d8c4
parent5c52a7a746fa26a121ec0674230dd1bc327a9ee9
Reverse order of args to fread.

This way, we don't always write a null byte into
byte 1 of the buffer

(closes issue #15905)
Reported by: ebroad
Patches:
      freadfix.patch uploaded by ebroad (license 878)
Tested by: ebroad

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@218933 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c