summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-12-04 00:07:27 +0000
committerTim Potter <tpot@samba.org>2000-12-04 00:07:27 +0000
commit88fcc1b623a0c3a166343980fd9e5cb7703ee5b6 (patch)
tree900f74a0068a94f275b2ef200950e4dc02facb0c /testsuite
parent0cb1c512f1fdcc719ad4d071fe7905444ac76b3f (diff)
downloadsamba-88fcc1b623a0c3a166343980fd9e5cb7703ee5b6.tar.gz
samba-88fcc1b623a0c3a166343980fd9e5cb7703ee5b6.tar.bz2
samba-88fcc1b623a0c3a166343980fd9e5cb7703ee5b6.zip
Fixed some debugging code.
(This used to be commit 369a378b3390b060a676c67950f020c4d147fe6d)
Diffstat (limited to 'testsuite')
-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 9b1fc7c46c..fa26ed7dff 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);