Fix typo in rsyncd.conf man page.
[rsync/rsync.git] / checksum.c
index 51a5293..a5c0a43 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (C) 1996 Andrew Tridgell
  * Copyright (C) 1996 Paul Mackerras
- * Copyright (C) 2004-2007 Wayne Davison
+ * Copyright (C) 2004-2008 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
@@ -164,9 +164,9 @@ void sum_init(int seed)
        else {
                mdfour_begin(&md);
                sumresidue = 0;
+               SIVAL(s, 0, seed);
+               sum_update(s, 4);
        }
-       SIVAL(s, 0, seed);
-       sum_update(s, 4);
 }
 
 /**