| | @@ -77,18 +77,18 @@ |
| 77 | 77 | return rc; |
| 78 | 78 | } |
| 79 | 79 | |
| 80 | 80 | /* |
| 81 | 81 | ** This routine will try a number of times to perform autosync with a |
| 82 | | -** .5 second sleep between attempts; returning the last autosync status. |
| 82 | +** 0.5 second sleep between attempts; returning the last autosync status. |
| 83 | 83 | */ |
| 84 | 84 | int autosync_loop(int flags, int nTries){ |
| 85 | 85 | int n = 0; |
| 86 | 86 | int rc = 0; |
| 87 | | - while( (n==0 || n < nTries) && (rc = autosync(flags)) ){ |
| 87 | + while( (n==0 || n<nTries) && (rc=autosync(flags)) ){ |
| 88 | 88 | if( rc ){ |
| 89 | | - if( ++n < nTries ){ |
| 89 | + if( ++n<nTries ){ |
| 90 | 90 | fossil_warning("Autosync failed, making another attempt."); |
| 91 | 91 | sqlite3_sleep(500); |
| 92 | 92 | }else{ |
| 93 | 93 | fossil_warning("Autosync failed."); |
| 94 | 94 | } |
| 95 | 95 | |