| 586 |
586 |
| 587 purple_debug_info("QQ", "keep alive, %s:%d\n", |
587 purple_debug_info("QQ", "keep alive, %s:%d\n", |
| 588 inet_ntoa(qd->my_ip), qd->my_port); |
588 inet_ntoa(qd->my_ip), qd->my_port); |
| 589 |
589 |
| 590 tm_local = localtime(&server_time); |
590 tm_local = localtime(&server_time); |
| 591 purple_debug_info("QQ", "Server time: %d-%d-%d, %d:%d:%d\n", |
591 |
| 592 (1900 +tm_local->tm_year), (1 + tm_local->tm_mon), tm_local->tm_mday, |
592 if (tm_local != NULL) |
| 593 tm_local->tm_hour, tm_local->tm_min, tm_local->tm_sec); |
593 purple_debug_info("QQ", "Server time: %d-%d-%d, %d:%d:%d\n", |
| |
594 (1900 +tm_local->tm_year), (1 + tm_local->tm_mon), tm_local->tm_mday, |
| |
595 tm_local->tm_hour, tm_local->tm_min, tm_local->tm_sec); |
| |
596 else |
| |
597 purple_debug_error("QQ", "Server time could not be parsed\n"); |
| |
598 |
| 594 return TRUE; |
599 return TRUE; |
| 595 } |
600 } |
| 596 |
601 |
| 597 /* For QQ2007/2008 */ |
602 /* For QQ2007/2008 */ |
| 598 void qq_request_get_server(PurpleConnection *gc) |
603 void qq_request_get_server(PurpleConnection *gc) |