From: Ken Raeburn Date: Sat, 23 Oct 2010 22:26:10 +0000 (+0000) Subject: Fix adjustment of counter X-Git-Tag: krb5-1.10-alpha1~681 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d2ac1be9ee8fb52360a3f2c00b9200c7138ecd22;p=krb5.git Fix adjustment of counter git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24477 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/slave/kpropd.c b/src/slave/kpropd.c index a46009aed..929aaa4db 100644 --- a/src/slave/kpropd.c +++ b/src/slave/kpropd.c @@ -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);