Fix adjustment of counter
authorKen Raeburn <raeburn@mit.edu>
Sat, 23 Oct 2010 22:26:10 +0000 (22:26 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 23 Oct 2010 22:26:10 +0000 (22:26 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24477 dc483132-0cff-0310-8789-dd5450dbe970

src/slave/kpropd.c

index a46009aed4cf98cc256aa95c1ddb4bbc5da9fe40..929aaa4db37f882f053d166562add9773e84988d 100644 (file)
@@ -993,7 +993,7 @@ unsigned int backoff_from_master(int *cnt) {
     btime = (unsigned int)(2<<(*cnt));
     if (btime > MAX_BACKOFF) {
         btime = MAX_BACKOFF;
-        *cnt--;
+        (*cnt)--;
     }
 
     return (btime);