fixed a nasty bug in debug.c
commitab1bfe5b0d9795d3e7d993ac5247f1be63950353
authorAndrew Tridgell <tridge@samba.org>
Tue, 11 Aug 1998 14:09:05 +0000 (11 14:09 +0000)
committerAndrew Tridgell <tridge@samba.org>
Tue, 11 Aug 1998 14:09:05 +0000 (11 14:09 +0000)
treea8fd14b85a9bd1ff59dc621011c755916041bf4d
parente107f730824ce9ab9915dab4745e5eba1845bbe4
fixed a nasty bug in debug.c

Debug1() was being called like this:

      Debug1( format_bufr );

but if format_bufr contains any %s or other % arguments (such as when
processing a smb.conf file containing % macros) then smbd dies a
horrible death.

The quick fix is to use:

Debug1( "%s", format_bufr);
(This used to be commit 5ae04012819ae3e63102d6875088ef00c27492b4)
source3/lib/debug.c