diff options
author | Jeremy Allison <jra@samba.org> | 1998-11-12 19:40:33 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-11-12 19:40:33 +0000 |
commit | 609f348217371a87f3a467bde307c3beb3ec27ff (patch) | |
tree | 0ae43506848bacbf29fabcbeb50ee8a760188075 /source3/printing | |
parent | 1960082517daa67d1869c7bbbd93df8f6f54854c (diff) | |
download | samba-609f348217371a87f3a467bde307c3beb3ec27ff.tar.gz samba-609f348217371a87f3a467bde307c3beb3ec27ff.tar.bz2 samba-609f348217371a87f3a467bde307c3beb3ec27ff.zip |
include/kanji.h include/proto.h lib/kanji.c: Added const parameters in string wrappers.
printing/printing.c: Added OSF1 fix.
Jeremy.
(This used to be commit 9d05d80f811426f83a975d28e64c5d6b10574c25)
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/printing.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c index 09a574c2c9..d779a42ec7 100644 --- a/source3/printing/printing.c +++ b/source3/printing/printing.c @@ -227,10 +227,12 @@ static BOOL parse_lpq_bsd(char *line,print_queue_struct *buf,BOOL first) pstrcpy(line2,line); #ifdef OSF1 - int length; - length = strlen(line2); - if (line2[length-3] == ':') - return(False); + { + size_t length; + length = strlen(line2); + if (line2[length-3] == ':') + return(False); + } #endif /* OSF1 */ tok[0] = strtok(line2," \t"); |