diff options
author | Jeremy Allison <jra@samba.org> | 2002-12-05 22:32:15 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2002-12-05 22:32:15 +0000 |
commit | 3999a905e93a0070132888804cafa114bc7d613d (patch) | |
tree | 5e27d129548b6d929aad450603f763ee04ec685d /source3/printing/printfsp.c | |
parent | 26236b30d09ebf31e43911f2d7cbec80df519b71 (diff) | |
download | samba-3999a905e93a0070132888804cafa114bc7d613d.tar.gz samba-3999a905e93a0070132888804cafa114bc7d613d.tar.xz samba-3999a905e93a0070132888804cafa114bc7d613d.zip |
Fix debugs for rap mapping. Delete job on map fail.
Jeremy.
(This used to be commit 6eb27e4f0dea6027ba9e041348f066c947e751c6)
Diffstat (limited to 'source3/printing/printfsp.c')
-rw-r--r-- | source3/printing/printfsp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/printing/printfsp.c b/source3/printing/printfsp.c index 4ae74e27ec5..f028e1f564a 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; } |