r16550: Fix bug 3866. Thanks for the report!
authorDerrell Lipman <derrell@samba.org>
Tue, 27 Jun 2006 02:30:58 +0000 (02:30 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:18:59 +0000 (11:18 -0500)
commitc1b4c510530ca3118d1eccb9615a8cad732c7373
treead8384363d78d6a9ceb78685176f39053d8be8a8
parent2b8d72f09c6d79d5d41421545b538da573adcd9d
r16550: Fix bug 3866.  Thanks for the report!

Although I've never met a computer or compiler that produced pointers to
functions which are a different size than pointers to data, I suppose they
probably exist.  Assigning a pointer to a function is technically illegal in C
anyway.

Change casts of the option_value based on the option_name to use of variable
argument lists.

For binary compatibility, I've maintained but deprecated the old behavior of
debug_stderr (which expected to be passed a NULL or non-NULL pointer) and
added a new option debug_to_stderr which properly expects a boolean (int)
parameter.

Derrell
examples/libsmbclient/testbrowse.c
source/include/libsmbclient.h
source/libsmb/libsmbclient.c