mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-29 10:30:24 +00:00
change the timeout of NFS link; add copy function in finsh shell.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1138 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
@@ -71,7 +71,7 @@ CLIENT *clnt_create (const char *hostname, const unsigned long prog,
|
||||
tv.tv_usec = 0;
|
||||
client = clntudp_create(&sin, prog, vers, tv, &sock);
|
||||
if (client == NULL) return NULL;
|
||||
tv.tv_sec = 25;
|
||||
tv.tv_sec = 1;
|
||||
clnt_control(client, CLSET_TIMEOUT, (char*)&tv);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user