summaryrefslogtreecommitdiffstats
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
commit369a378b3390b060a676c67950f020c4d147fe6d (patch)
tree400d69eea8ccf6a8e646bc8bb85c6023511b13ac /testsuite
parentcb324b53c61ee7e4bf0aa5d1fb773672a2674c0f (diff)
downloadsamba-369a378b3390b060a676c67950f020c4d147fe6d.tar.gz
samba-369a378b3390b060a676c67950f020c4d147fe6d.tar.xz
samba-369a378b3390b060a676c67950f020c4d147fe6d.zip
Fixed some debugging code.
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 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);