diff --git a/tsmpipe.c b/tsmpipe.c index e567959..87ccdf7 100644 --- a/tsmpipe.c +++ b/tsmpipe.c @@ -563,7 +563,7 @@ int tsm_matchone_cb(dsmQueryType qType, DataBlk *qResp, void * userdata) int tsm_deletefile(dsUint32_t sesshandle, char *fsname, char *filename, - char *description, dsmSendType sendtype, char verbose) + char *description, dsmSendType sendtype, char verbose, char *pitdate) { dsInt16_t rc; dsUint16_t reason=0; @@ -583,7 +583,7 @@ int tsm_deletefile(dsUint32_t sesshandle, char *fsname, char *filename, cbdata.numfound = 0; rc = tsm_queryfile(sesshandle, &objName, description, sendtype, - verbose, tsm_matchone_cb, &cbdata, NULL); + verbose, tsm_matchone_cb, &cbdata, pitdate); if(rc != DSM_RC_OK) { return 0; } @@ -1033,7 +1033,7 @@ int main(int argc, char *argv[]) { } if(delete) { - if(!tsm_deletefile(sesshandle, space, filename, desc, sendtype, verbose)) { + if(!tsm_deletefile(sesshandle, space, filename, desc, sendtype, verbose, pitdate)) { dsmTerminate(sesshandle); exit(7); }