]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Solaris doesn't like NULL going to ast_log
authorDavid Brooks <dbrooks@digium.com>
Wed, 11 Nov 2009 19:46:19 +0000 (19:46 +0000)
committerDavid Brooks <dbrooks@digium.com>
Wed, 11 Nov 2009 19:46:19 +0000 (19:46 +0000)
commit933ad675be8d2d0e006ef3a98f3c0d7d4e6be9fa
treeca65b8b0687f9ef2250e16aed26a0d0f3ec1e352
parente04cade814c8fd66747c9dda83ce6eb3c7d1fede
Solaris doesn't like NULL going to ast_log

Solaris will crash if NULL is passed to ast_log. This simple patch simply uses S_OR to
get around this.

(closes issue #15392)
Reported by: yrashk

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@229498 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/pbx.c