summaryrefslogtreecommitdiff
path: root/testsuite/printing
diff options
context:
space:
mode:
authorDavid O'Neill <dmo@samba.org>2000-12-05 18:05:23 +0000
committerDavid O'Neill <dmo@samba.org>2000-12-05 18:05:23 +0000
commit1f6214f5327051676b4c49fdc2fde6b2a28de9ce (patch)
tree656def98d9dbb8d6fef6f0bada99400171143213 /testsuite/printing
parente3d7d9a1f4f72810e058f9f90670c2ba5a11bfc7 (diff)
downloadsamba-1f6214f5327051676b4c49fdc2fde6b2a28de9ce.tar.gz
Changes from APPLIANCE_HEAD:
- clean up some confusing variable names, remove unreachable 'break' statements. (source/printing/nt_printing.c) - reformatted to fit 80 columns (docs/docbook/docbook.txt) - configure.developer now runs configure in `dirname $0` (source/configure.developer) - syncup of smbclient docs (docs/htmldocs/smbclient.1.html docs/manpages/smbclient.1 docs/yodldocs/smbclient.1.yo) - fix to debugging code (testsuite/printing/psec.c)
Diffstat (limited to 'testsuite/printing')
-rw-r--r--testsuite/printing/psec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/printing/psec.c b/testsuite/printing/psec.c
index 9b1fc7c46c4..fa26ed7dfff 100644
--- a/testsuite/printing/psec.c
+++ b/testsuite/printing/psec.c
@@ -71,7 +71,7 @@ TDB_CONTEXT *tdb;
char *ace_type_to_str(uint ace_type)
{
- fstring temp;
+ static fstring temp;
switch(ace_type) {
case SEC_ACE_TYPE_ACCESS_DENIED:
@@ -99,7 +99,7 @@ uint str_to_ace_type(char *ace_type)
char *ace_mask_to_str(uint32 ace_mask)
{
- fstring temp;
+ static fstring temp;
switch (ace_mask) {
case PRINTER_ACE_FULL_CONTROL:
@@ -132,7 +132,7 @@ uint32 str_to_ace_mask(char *ace_mask)
char *ace_to_str(SEC_ACE *ace)
{
- pstring temp;
+ static pstring temp;
fstring sidstr;
sid_to_string(sidstr, &ace->sid);