Ignore:
Timestamp:
Aug 2, 2010, 6:40:21 PM (15 years ago)
Author:
Silvan Scherrer
Message:

Samba 3.5: vendor update to 3.5.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/printing/printing.c

    r414 r478  
    645645
    646646/****************************************************************************
    647  Parse a file name from the system spooler to generate a jobid.
    648 ****************************************************************************/
    649 
    650 static uint32 print_parse_jobid(char *fname)
    651 {
    652         int jobid;
    653 
    654         if (strncmp(fname,PRINT_SPOOL_PREFIX,strlen(PRINT_SPOOL_PREFIX)) != 0)
    655                 return (uint32)-1;
    656         fname += strlen(PRINT_SPOOL_PREFIX);
    657 
    658         jobid = atoi(fname);
    659         if (jobid <= 0)
    660                 return (uint32)-1;
    661 
    662         return (uint32)jobid;
    663 }
    664 
    665 /****************************************************************************
    666647 List a unix job in the print database.
    667648****************************************************************************/
     
    26102591                return True;
    26112592        }
    2612 
    2613         pjob->smbjob = jobid;
    26142593
    26152594        ret = (*(current_printif->job_submit))(snum, pjob);
Note: See TracChangeset for help on using the changeset viewer.