Commit d2d7e36d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Cosmetic fixes

parent f78b9464
...@@ -85,7 +85,7 @@ struct access_sys_t ...@@ -85,7 +85,7 @@ struct access_sys_t
int fd_cmd; int fd_cmd;
int fd_data; int fd_data;
char sz_epsv_ip[NI_MAXNUMERICHOST]; char sz_epsv_ip[NI_MAXNUMERICHOST];
}; };
...@@ -127,7 +127,7 @@ static int Connect( access_t *p_access, access_sys_t *p_sys ) ...@@ -127,7 +127,7 @@ static int Connect( access_t *p_access, access_sys_t *p_sys )
} }
msg_Dbg( p_access, "connection accepted (%d)", i_answer ); msg_Dbg( p_access, "connection accepted (%d)", i_answer );
if( p_sys->url.psz_username && *p_sys->url.psz_username ) if( p_sys->url.psz_username && *p_sys->url.psz_username )
psz = strdup( p_sys->url.psz_username ); psz = strdup( p_sys->url.psz_username );
else else
...@@ -150,7 +150,7 @@ static int Connect( access_t *p_access, access_sys_t *p_sys ) ...@@ -150,7 +150,7 @@ static int Connect( access_t *p_access, access_sys_t *p_sys )
msg_Dbg( p_access, "password needed" ); msg_Dbg( p_access, "password needed" );
if( p_sys->url.psz_password && *p_sys->url.psz_password ) if( p_sys->url.psz_password && *p_sys->url.psz_password )
psz = strdup( p_sys->url.psz_password ); psz = strdup( p_sys->url.psz_password );
else else
psz = var_CreateGetString( p_access, "ftp-pwd" ); psz = var_CreateGetString( p_access, "ftp-pwd" );
if( ftp_SendCommand( p_access, "PASS %s", psz ) < 0 || if( ftp_SendCommand( p_access, "PASS %s", psz ) < 0 ||
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment