commit - 2afde960164d9b7c1c8e660fa08f99299d7bd5f3
commit + 2c50e0f6595eb735d3345687359274f63b9d7fbb
blob - 5a9dae586122e17eae9a994be61d85ed7a989f62
blob + e4b96ddb060ed95f23c81c4b0d247ba918591243
--- kamiftp/ftp.c
+++ kamiftp/ftp.c
}
static void
-do_attach(const char *path)
+do_attach()
{
struct qid qid;
- if (path == NULL)
- path = "/";
-
- tattach(pwdfid, NOFID, user, path);
+ tattach(pwdfid, NOFID, user, "/");
do_send();
recv_msg();
expect2(Rattach, iota_tag);
printf(" done!\n");
do_version();
- do_attach(path);
+ do_attach();
}
static int