diff options
author | Christopher R. Hertel <crh@samba.org> | 1998-08-21 19:57:59 +0000 |
---|---|---|
committer | Christopher R. Hertel <crh@samba.org> | 1998-08-21 19:57:59 +0000 |
commit | c8b2ee3e4e85c6afc43ea72643e5609f23f49ae7 (patch) | |
tree | 78aaf2cfa5843c018c9d7d5241e150fef0e55b0e /examples | |
parent | 7fe3a42857792a70bdd729fefa2311b77ae86e7e (diff) | |
download | samba-c8b2ee3e4e85c6afc43ea72643e5609f23f49ae7.tar.gz samba-c8b2ee3e4e85c6afc43ea72643e5609f23f49ae7.tar.bz2 samba-c8b2ee3e4e85c6afc43ea72643e5609f23f49ae7.zip |
Just tweaking.
If the output line is longer than the format buffer could manage, I was
simply ignoring the additional output (that is, *not* copying it to the
format buffer--thus avoiding a buffer overrun). Instead, I now output
the current content followed by " +>\n", and then reset the format buffer.
I have never seen a debug line that exceeds the size of a pstring, but I
might as well handle the situation...just in case.
Chris -)-----
(This used to be commit 8a11d04b7796b256953bf92b2f2ccab763215bc4)
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions