Skip to content
Snippets Groups Projects
Commit 1b756ca2 authored by patacongo's avatar patacongo
Browse files

Improve NFS retry logic

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4845 42af7a65-404d-4744-a932-0658087f49c3
parent ff8f3e4a
No related branches found
No related tags found
No related merge requests found
...@@ -109,7 +109,7 @@ static inline char *nsh_getdirpath(FAR struct nsh_vtbl_s *vtbl, ...@@ -109,7 +109,7 @@ static inline char *nsh_getdirpath(FAR struct nsh_vtbl_s *vtbl,
char *alloc; char *alloc;
int len; int len;
/* Handle the special case where the dirpath is simply */ /* Handle the special case where the dirpath is simply "/" */
if (strcmp(dirpath, "/") == 0) if (strcmp(dirpath, "/") == 0)
{ {
...@@ -151,6 +151,7 @@ FAR const char *nsh_getcwd(void) ...@@ -151,6 +151,7 @@ FAR const char *nsh_getcwd(void)
return nsh_getwd(g_pwd); return nsh_getwd(g_pwd);
} }
#endif #endif
/**************************************************************************** /****************************************************************************
* Name: nsh_getfullpath * Name: nsh_getfullpath
****************************************************************************/ ****************************************************************************/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment