Mercurial > pidgin
comparison libpurple/protocols/msn/session.c @ 29775:869dfdcea8a7
Don't bother updating the login progress if the step didn't change
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Thu, 22 Apr 2010 17:38:56 +0000 |
| parents | f541583e31bd |
| children | 62ca462d0abc f8ec889c5bce |
comparison
equal
deleted
inserted
replaced
| 29774:2140074fa387 | 29775:869dfdcea8a7 |
|---|---|
| 405 { | 405 { |
| 406 PurpleConnection *gc; | 406 PurpleConnection *gc; |
| 407 | 407 |
| 408 /* Prevent the connection progress going backwards, eg. if we get | 408 /* Prevent the connection progress going backwards, eg. if we get |
| 409 * transferred several times during login */ | 409 * transferred several times during login */ |
| 410 if (session->login_step > step) | 410 if (session->login_step >= step) |
| 411 return; | 411 return; |
| 412 | 412 |
| 413 /* If we're already logged in, we're probably here because of a | 413 /* If we're already logged in, we're probably here because of a |
| 414 * mid-session XFR from the notification server, so we don't want to | 414 * mid-session XFR from the notification server, so we don't want to |
| 415 * popup the connection progress dialog */ | 415 * popup the connection progress dialog */ |
