*
* Copyright (C) 1996 Andrew Tridgell
* Copyright (C) 1996 Paul Mackerras
- * Copyright (C) 2003, 2004, 2005, 2006 Wayne Davison
+ * Copyright (C) 2003-2007 Wayne Davison
*
* This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
extern int protocol_version;
extern int preserve_uid;
extern int preserve_gid;
-extern int incremental;
+extern int inc_recurse;
extern int inplace;
extern int flist_eof;
extern int keep_dirlinks;
break;
if (ndx == NDX_DONE)
return ndx;
- if (!incremental || am_sender)
+ if (!inc_recurse || am_sender)
goto invalid_ndx;
if (ndx == NDX_FLIST_EOF) {
flist_eof = 1;
{
struct file_list *flist = cur_flist;
- if (!flist)
+ if (!flist && !(flist = first_flist))
return NULL;
while (ndx < flist->ndx_start) {