Mercurial > pidgin
comparison libpurple/protocols/simple/simple.c @ 23796:69d54f84350a
propagate from branch 'im.pidgin.pidgin' (head 9da7555026cd7b8456f95ae153a7852ddbcf6678)
to branch 'im.pidgin.pidgin.vv' (head 3f8b4b5a421935e71b45c7b8260c8bb32a330384)
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sun, 13 Apr 2008 17:53:46 +0000 |
parents | 92e71f6e10d4 c65c96e231b5 |
children | ff29208e03ef |
comparison
equal
deleted
inserted
replaced
23795:0d41d271227b | 23796:69d54f84350a |
---|---|
945 GSList *tmp = sip->transactions; | 945 GSList *tmp = sip->transactions; |
946 time_t currtime = time(NULL); | 946 time_t currtime = time(NULL); |
947 while(tmp) { | 947 while(tmp) { |
948 struct transaction *trans = tmp->data; | 948 struct transaction *trans = tmp->data; |
949 tmp = tmp->next; | 949 tmp = tmp->next; |
950 purple_debug_info("simple", "have open transaction age: %d\n", currtime- trans->time); | 950 purple_debug_info("simple", "have open transaction age: %lu\n", currtime- trans->time); |
951 if((currtime - trans->time > 5) && trans->retries >= 1) { | 951 if((currtime - trans->time > 5) && trans->retries >= 1) { |
952 /* TODO 408 */ | 952 /* TODO 408 */ |
953 } else { | 953 } else { |
954 if((currtime - trans->time > 2) && trans->retries == 0) { | 954 if((currtime - trans->time > 2) && trans->retries == 0) { |
955 trans->retries++; | 955 trans->retries++; |