Intentional test of assert :_)
authorMartin Pool <mbp@samba.org>
Tue, 19 Mar 2002 03:59:51 +0000 (03:59 +0000)
committerMartin Pool <mbp@samba.org>
Tue, 19 Mar 2002 03:59:51 +0000 (03:59 +0000)
options.c

index fe7ff41..1696eea 100644 (file)
--- a/options.c
+++ b/options.c
@@ -624,7 +624,7 @@ void server_options(char **args,int *argc)
        if (copy_links)
                argstr[x++] = 'L';
 
-       assert(whole_file == 0 || whole_file == -1);
+       assert(whole_file == 0 || whole_file == 1);
        if (whole_file)
                argstr[x++] = 'W';
        /* We don't need to send --no-whole-file, because it's the