summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-05-24 07:55:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:58 -0500
commit48118680cb3ecee5f4db499502c083d309177552 (patch)
treef609f518aede2d7c4e6f1871f8c622f9aa1d4e6f /source3
parent0ef417d9583154a261ae8c4b01f23c29a9110ca1 (diff)
downloadsamba-48118680cb3ecee5f4db499502c083d309177552.tar.gz
samba-48118680cb3ecee5f4db499502c083d309177552.tar.bz2
samba-48118680cb3ecee5f4db499502c083d309177552.zip
r6953: Many compilers in the build farm don't like static variables initialized with
strlen(..). Jerry, I think this needs another fix. I just want to make the build farm happy. Not merging to trunk, this needs further looking at. Volker (This used to be commit 4f36e4f4343e56842affa8de495c2258f5d971ad)
Diffstat (limited to 'source3')
-rw-r--r--source3/registry/reg_printing.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/registry/reg_printing.c b/source3/registry/reg_printing.c
index a7a89fdc34..d0de24b7d8 100644
--- a/source3/registry/reg_printing.c
+++ b/source3/registry/reg_printing.c
@@ -55,9 +55,9 @@ static char* trim_reg_path( char *path )
uint16 key_len = strlen(path);
uint16 base_key_len;
- static int key_printing_len = strlen( KEY_PRINTING );
- static int key_printing2k_len = strlen( KEY_PRINTING_2K );
- static int key_printing_ports_len = strlen( KEY_PRINTING_PORTS );
+ int key_printing_len = strlen( KEY_PRINTING );
+ int key_printing2k_len = strlen( KEY_PRINTING_2K );
+ int key_printing_ports_len = strlen( KEY_PRINTING_PORTS );