File tree Expand file tree Collapse file tree 3 files changed +2
-8
lines changed
ide/Renesas/e2studio/RX72N/sftp_client/src Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -157,9 +157,7 @@ void main(void)
157157 Open_tcp ();
158158 sftp_client_connect (& ctx , & ssh , port );
159159
160- if (ctx == NULL || ssh == NULL ) {
161-
162- } else {
160+ if (ctx != NULL && ssh != NULL ){
163161 do {
164162 n = wolfSSH_SFTP_RealPath (ssh , (char * )"." );
165163 ret = wolfSSH_get_error (ssh );
File renamed without changes.
Original file line number Diff line number Diff line change @@ -1905,11 +1905,7 @@ struct fd_entry {
19051905 int used ;
19061906};
19071907
1908- #if defined(__CCRX__ )
1909- static struct fd_entry fd_pool [WOLFSSH_FATFS_MAX_FILES ] = {0 };
1910- #else
1911- static struct fd_entry fd_pool [WOLFSSH_FATFS_MAX_FILES ] = { };
1912- #endif
1908+ static struct fd_entry fd_pool [WOLFSSH_FATFS_MAX_FILES ];
19131909int ff_open (const char * fname , int flag , int perm )
19141910{
19151911 int i ;
You can’t perform that action at this time.
0 commit comments