summaryrefslogtreecommitdiff
path: root/source3/printing/lpq_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/printing/lpq_parse.c')
-rw-r--r--source3/printing/lpq_parse.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/source3/printing/lpq_parse.c b/source3/printing/lpq_parse.c
index ae8bb8398b..42da593c8d 100644
--- a/source3/printing/lpq_parse.c
+++ b/source3/printing/lpq_parse.c
@@ -821,16 +821,6 @@ BOOL parse_lpq_entry(int snum,char *line,
break;
}
-#ifdef LPQ_GUEST_TO_USER
- if (ret) {
- extern pstring sesssetup_user;
- /* change guest entries to the current logged in user to make
- them appear deletable to windows */
- if (sesssetup_user[0] && strequal(buf->user,lp_guestaccount(snum)))
- pstrcpy(buf->user,sesssetup_user);
- }
-#endif
-
/* We don't want the newline in the status message. */
{
char *p = strchr(line,'\n');