return(NULL);
if((mbspath = icwcstombs(dt->path, "UTF-8")) == NULL)
return(NULL);
- /* XXX: Achtung! Too DC-specific! */
- if((p = strrchr(mbspath, '\\')) == NULL)
+ if((p = strrchr(mbspath, '/')) == NULL)
p = mbspath;
else
p++;
dtd->conduit = conduit;
dt->udata = dtd;
dt->destroycb = dtfreecb;
- dc_queuecmd(lstrargcb, dt, L"lstrarg", L"%%i", dt->id, NULL);
+ dc_queuecmd(lstrargcb, dt, L"lstrarg", L"%i", dt->id, NULL);
}
static void trlistcb(int resp, struct conduit *conduit)
{
if(((dtd = dt->udata) != NULL) && (dtd->ct == transfer))
{
- dc_queuecmd(NULL, NULL, L"cancel", L"%%i", dt->id, NULL);
+ dc_queuecmd(NULL, NULL, L"cancel", L"%i", dt->id, NULL);
return(0);
}
}