git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80b4dc4
)
Fix from Steve Langasek <vorlon@netexpress.net> for non-RPC printing.
author
Jeremy Allison
<jra@samba.org>
Wed, 9 Apr 2003 22:34:58 +0000
(22:34 +0000)
committer
Jeremy Allison
<jra@samba.org>
Wed, 9 Apr 2003 22:34:58 +0000
(22:34 +0000)
Jeremy.
(This used to be commit
186d53cbc1642ee5dd1daf0277dc08de621eede2
)
source3/smbd/service.c
patch
|
blob
|
history
diff --git
a/source3/smbd/service.c
b/source3/smbd/service.c
index 5c87eb0729bc366d2f06cc23bb3dfe0191435073..146212701e39aa780483066573f47ee1de8c0ef5 100644
(file)
--- a/
source3/smbd/service.c
+++ b/
source3/smbd/service.c
@@
-229,7
+229,7
@@
static NTSTATUS share_sanity_checks(int snum, fstring dev)
if (dev[0] == '?' || !dev[0]) {
if (lp_print_ok(snum)) {
- fstrcpy(dev,"LPT
1
:");
+ fstrcpy(dev,"LPT:");
} else if (strequal(lp_fstype(snum), "IPC")) {
fstrcpy(dev, "IPC");
} else {
@@
-253,7
+253,7
@@
static NTSTATUS share_sanity_checks(int snum, fstring dev)
/* Behave as a printer if we are supposed to */
if (lp_print_ok(snum) && (strcmp(dev, "A:") == 0)) {
- fstrcpy(dev, "LPT
1
:");
+ fstrcpy(dev, "LPT:");
}
return NT_STATUS_OK;