X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/531d06b82464e77b81453cbd618a56af7d1542b8..0e9480317dbb5b8003535a769f4a03bc720d5f5f:/exclude.c diff --git a/exclude.c b/exclude.c index 53852f69..a9d32a3e 100644 --- a/exclude.c +++ b/exclude.c @@ -299,7 +299,8 @@ void send_exclude_list(int f) void recv_exclude_list(int f) { char line[MAXPATHLEN]; - int l; + unsigned int l; + while ((l=read_int(f))) { if (l >= MAXPATHLEN) overflow("recv_exclude_list"); read_sbuf(f,line,l);