added labels for partial updates.
authorRalph Campbell <ralph@ucbvax.Berkeley.EDU>
Tue, 10 Apr 1984 06:59:06 +0000 (22:59 -0800)
committerRalph Campbell <ralph@ucbvax.Berkeley.EDU>
Tue, 10 Apr 1984 06:59:06 +0000 (22:59 -0800)
SCCS-vsn: usr.bin/rdist/main.c 4.11

usr/src/usr.bin/rdist/main.c

index d36dcb7..2ec01c8 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char *sccsid = "@(#)main.c      4.11 (Berkeley) 84/04/06";
+static char *sccsid = "@(#)main.c      4.11 (Berkeley) 84/04/09";
 #endif
 
 #include "defs.h"
 #endif
 
 #include "defs.h"
@@ -18,8 +18,6 @@ int   qflag;          /* Quiet. Don't print messages */
 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 */
@@ -197,7 +195,7 @@ docmdargs(nargs, args)
                printf("hosts = ");
                prnames(hosts);
        }
                printf("hosts = ");
                prnames(hosts);
        }
-       insert(files, hosts, cmds);
+       insert(NULL, files, hosts, cmds);
        docmds(0, NULL);
 }
 
        docmds(0, NULL);
 }