summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2198ed4)
SCCS-vsn: usr.bin/rdist/main.c 4.11
-static char *sccsid = "@(#)main.c 4.11 (Berkeley) 84/04/06";
+static char *sccsid = "@(#)main.c 4.11 (Berkeley) 84/04/09";
int options; /* global options */
int iamremote; /* act as remote server for transfering files */
int options; /* global options */
int iamremote; /* act as remote server for transfering files */
-int filec; /* number of files to update */
-char **filev; /* list of files/directories to update */
FILE *fin = NULL; /* input file pointer */
int rem = -1; /* file descriptor to remote source/sink process */
char host[32]; /* host name */
FILE *fin = NULL; /* input file pointer */
int rem = -1; /* file descriptor to remote source/sink process */
char host[32]; /* host name */
printf("hosts = ");
prnames(hosts);
}
printf("hosts = ");
prnames(hosts);
}
- insert(files, hosts, cmds);
+ insert(NULL, files, hosts, cmds);