Review Board 1.7.16

manager.c does not compile on OpenBSD anymore. This patch fixes it.

Review Request #66 - Created Nov. 30, 2008 and submitted

Michiel van Baak
manager.c has a call to ast_channel_alloc with NULL as last argument.
This last argument should be a pointer. And since NULL is not really a pointer compile fails on OpenBSD.

The attached patch fixes it in 1.4
in trunk and the 1.6.X branches I think it's better to fix it by replacing NULL with SENTINEL in this call.
Compiles and the manager works with this patch attached on OpenBSD 4.4
Ship it!
Posted (Dec. 1, 2008, 1:30 a.m.)
Looks good.  Put a space after the cast, though.  :-) runs on a server provided by Digium, Inc. and uses bandwidth donated to the open source Asterisk community by API Digital Communications in Huntsville, AL USA.
Please report problems with this site to