summaryrefslogtreecommitdiffstats
path: root/source/lib/cmd_interp.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-08-30 00:45:59 +0000
committerJeremy Allison <jra@samba.org>2000-08-30 00:45:59 +0000
commit6d081a9017f87f59b7189ba507e211db01c40af5 (patch)
tree90f3dadafa0e8a501c938f54f069f37dc22392c5 /source/lib/cmd_interp.c
parentd09d8a3f4b32c1b4467dff5f2284e382163b7f09 (diff)
downloadsamba-6d081a9017f87f59b7189ba507e211db01c40af5.tar.gz
samba-6d081a9017f87f59b7189ba507e211db01c40af5.tar.xz
samba-6d081a9017f87f59b7189ba507e211db01c40af5.zip
Implemented AbortPrinter() from Gerald's Win32 test code. Just purge all
possible printjobs from that printer (I think this is correct). Added error code returns for print_queue_XXX() functions. Jeremy.
Diffstat (limited to 'source/lib/cmd_interp.c')
-rw-r--r--source/lib/cmd_interp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/lib/cmd_interp.c b/source/lib/cmd_interp.c
index 00307100525..d2aafa8b5dd 100644
--- a/source/lib/cmd_interp.c
+++ b/source/lib/cmd_interp.c
@@ -214,6 +214,8 @@ static uint32 cmd_quit(struct client_info *info, int argc, char *argv[])
free_connections();
exit(0);
+ /* NOTREACHED */
+ return 0;
}
/****************************************************************************