mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
add support for unlink() on printer shares in smbwrapper. unlink()
will remove the job from the pirnt queue.
This commit is contained in:
@ -100,9 +100,13 @@ int smbw_stat_printjob(struct smbw_server *srv,char *path,
|
||||
fstrcpy(printjob.name, path);
|
||||
cli_print_queue(&srv->cli, smbw_printjob_stat);
|
||||
|
||||
*size = printjob.size;
|
||||
*m_time = printjob.t;
|
||||
return 0;
|
||||
if (size) {
|
||||
*size = printjob.size;
|
||||
}
|
||||
if (m_time) {
|
||||
*m_time = printjob.t;
|
||||
}
|
||||
return printjob.id;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user