From 3999a905e93a0070132888804cafa114bc7d613d Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 5 Dec 2002 22:32:15 +0000 Subject: Fix debugs for rap mapping. Delete job on map fail. Jeremy. (This used to be commit 6eb27e4f0dea6027ba9e041348f066c947e751c6) --- source3/printing/printfsp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/printing/printfsp.c') 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; } -- cgit