summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-11-09 20:33:37 +0000
committerJeremy Allison <jra@samba.org>1998-11-09 20:33:37 +0000
commite4f974c611c179a5e7827ec8325e01811db6540b (patch)
treeeb86d4e8b53c4ee052645cd86acd08f76f75d5b5 /source3/printing
parent748fe7a383e50079493648839cf0ab69aa2223a0 (diff)
downloadsamba-e4f974c611c179a5e7827ec8325e01811db6540b.tar.gz
samba-e4f974c611c179a5e7827ec8325e01811db6540b.tar.bz2
samba-e4f974c611c179a5e7827ec8325e01811db6540b.zip
Makefile.in: Removed rpc_server/srv_ldap_helpers.c per J.F.'s instructions.
client/client.c: client/clitar.c: include/client.h: smbwrapper/smbw_dir.c: smbwrapper/smbw_stat.c: smbwrapper/smbw.c: lib/util.c: Converted all use of 'mode' to uint16. smbd/quotas.c: Fixed stupid comment bug I put in there :-(. printing/printing.c: Fix from J.F. to new code. Jeremy. (This used to be commit bacd3e9d2036a804e73644a28fc498f229c8446c)
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/printing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index ddc0f70d18..faa099c359 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -207,7 +207,7 @@ static BOOL parse_lpq_bsd(char *line,print_queue_struct *buf,BOOL first)
#define USERTOK 2
#define JOBTOK 3
#define FILETOK 4
-#define TOTALTOK (count - 1)
+#define TOTALTOK (count - 2)
#define NTOK 6
#define MAXTOK 128
#else /* OSF1 */
@@ -215,7 +215,7 @@ static BOOL parse_lpq_bsd(char *line,print_queue_struct *buf,BOOL first)
#define USERTOK 1
#define JOBTOK 2
#define FILETOK 3
-#define TOTALTOK (count - 1)
+#define TOTALTOK (count - 2)
#define NTOK 5
#define MAXTOK 128
#endif /* OSF1 */