return 1;
}
-int cmd_upload_tar(int argc, const char **argv, char **envp)
+int cmd_upload_tar(int argc, const char **argv, const char *prefix)
{
int len;
const char *dir = argv[1];
return nak("expected (optional) base");
if (buf[len-1] == '\n')
buf[--len] = 0;
- base = strdup(buf + 5);
+ base = xstrdup(buf + 5);
len = packet_read_line(0, buf, sizeof(buf));
}
if (len)