summaryrefslogtreecommitdiff
path: root/source3/printing/printfsp.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-12-05 22:32:25 +0000
committerJeremy Allison <jra@samba.org>2002-12-05 22:32:25 +0000
commit1815dad960e7e418dbeb7eb3d4d014322c7a093f (patch)
tree05ed00745c4058438d0ed60bf767ec0a2f5d3b79 /source3/printing/printfsp.c
parent90d9cf973e92510ba8e0b5c9cade65fa2cf55246 (diff)
downloadsamba-1815dad960e7e418dbeb7eb3d4d014322c7a093f.tar.gz
samba-1815dad960e7e418dbeb7eb3d4d014322c7a093f.tar.bz2
samba-1815dad960e7e418dbeb7eb3d4d014322c7a093f.zip
Fix debugs for rap mapping. Delete job on map fail.
Jeremy. (This used to be commit 631d6066981c58f61d7fed4376b0254544eede84)
Diffstat (limited to 'source3/printing/printfsp.c')
-rw-r--r--source3/printing/printfsp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/printing/printfsp.c b/source3/printing/printfsp.c
index 4ae74e27ec..f028e1f564 100644
--- a/source3/printing/printfsp.c
+++ b/source3/printing/printfsp.c
@@ -55,7 +55,8 @@ files_struct *print_fsp_open(connection_struct *conn, char *fname)
/* Convert to RAP id. */
fsp->rap_print_jobid = pjobid_to_rap(SNUM(conn), jobid);
if (fsp->rap_print_jobid == 0) {
- /* We need to delete the entry in the tdb here ! FIXME ! JRA */
+ /* We need to delete the entry in the tdb. */
+ pjob_delete(SNUM(conn), jobid);
file_free(fsp);
return NULL;
}