rexec: correct af type from int to sa_family_t
Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
parent
c29deef4e5
commit
e0da9d1409
@ -22,6 +22,7 @@
|
||||
* Included Files
|
||||
****************************************************************************/
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <getopt.h>
|
||||
#include <netdb.h>
|
||||
#include <stdio.h>
|
||||
@ -45,8 +46,8 @@ struct rexec_arg_s
|
||||
FAR const char *command;
|
||||
FAR const char *user;
|
||||
FAR char *host;
|
||||
sa_family_t af;
|
||||
int port;
|
||||
int af;
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user