Ignore:
Timestamp:
Aug 2, 2010, 8:16:45 PM (15 years ago)
Author:
Silvan Scherrer
Message:

Samba Server 3.5: trunk update to 3.5.4

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source3/printing/printing.c

    r454 r480  
    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****************************************************************************/
     
    26142595                return True;
    26152596        }
    2616 
    2617         pjob->smbjob = jobid;
    26182597
    26192598        ret = (*(current_printif->job_submit))(snum, pjob);
Note: See TracChangeset for help on using the changeset viewer.