diff options
| author | james <> | 2008-03-03 06:22:51 +0000 | 
|---|---|---|
| committer | james <> | 2008-03-03 06:22:51 +0000 | 
| commit | 62af6821d25628f16085323b8492f6df090b23ca (patch) | |
| tree | b710598d0b4611d7561c1eaec7d244f36c5ac117 /src/rotate.c | |
| parent | d5f7b743892a37224a1d7203800bea96231e1cb1 (diff) | |
| download | sympathy-62af6821d25628f16085323b8492f6df090b23ca.tar.gz sympathy-62af6821d25628f16085323b8492f6df090b23ca.tar.bz2 sympathy-62af6821d25628f16085323b8492f6df090b23ca.zip  | |
*** empty log message ***
Diffstat (limited to 'src/rotate.c')
| -rw-r--r-- | src/rotate.c | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/src/rotate.c b/src/rotate.c index 1a37d21..ae013f6 100644 --- a/src/rotate.c +++ b/src/rotate.c @@ -10,6 +10,9 @@ static char rcsid[] = "$Id$";  /*   * $Log$ + * Revision 1.4  2008/03/03 06:22:51  james + * *** empty log message *** + *   * Revision 1.3  2008/03/03 06:20:14  james   * *** empty log message ***   * @@ -57,7 +60,7 @@ rotate (char *file)    buf1 = malloc (i);    buf2 = malloc (i); -  for (i = NUM_FILES_TO_KEEP; i > 0; ++i) +  for (i = NUM_FILES_TO_KEEP; i > 0; --i)      {        sprintf (buf1, "%s.%d", file, i - 1);        sprintf (buf2, "%s.%d", file, i);  | 
