git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 1.7.2.
[libguestfs.git]
/
fish
/
rc.c
diff --git
a/fish/rc.c
b/fish/rc.c
index
dbaf953
..
e637fc6
100644
(file)
--- a/
fish/rc.c
+++ b/
fish/rc.c
@@
-177,14
+177,15
@@
rc_listen (void)
char sockpath[128];
pid_t pid;
struct sockaddr_un addr;
char sockpath[128];
pid_t pid;
struct sockaddr_un addr;
- int sock, s, i;
+ int sock, s;
+ size_t i;
FILE *fp;
XDR xdr, xdr2;
guestfish_hello hello;
guestfish_call call;
guestfish_reply reply;
char **argv;
FILE *fp;
XDR xdr, xdr2;
guestfish_hello hello;
guestfish_call call;
guestfish_reply reply;
char **argv;
-
in
t argc;
+
size_
t argc;
memset (&hello, 0, sizeof hello);
memset (&call, 0, sizeof call);
memset (&hello, 0, sizeof hello);
memset (&call, 0, sizeof call);
@@
-307,7
+308,7
@@
rc_listen (void)
/* Remote control client. */
int
/* Remote control client. */
int
-rc_remote (int pid, const char *cmd,
in
t argc, char *argv[],
+rc_remote (int pid, const char *cmd,
size_
t argc, char *argv[],
int exit_on_error)
{
guestfish_hello hello;
int exit_on_error)
{
guestfish_hello hello;