libpurple/protocols/zephyr/zephyr.c

changeset 25085
1f1e715da7b9
parent 25080
fd2910516af3
child 25105
fe13c190ca13
child 25132
3e760a7a5981
equal deleted inserted replaced
25083:f90cdb700975 25085:1f1e715da7b9
1671 tv.tv_sec = 10; 1671 tv.tv_sec = 10;
1672 tv.tv_usec = 0; 1672 tv.tv_usec = 0;
1673 1673
1674 purple_debug_info("zephyr", "about to read from tzc\n"); 1674 purple_debug_info("zephyr", "about to read from tzc\n");
1675 1675
1676 if (waitpid(pid, NULL, WNOHANG) == 0) { // Only select if tzc is still running 1676 if (waitpid(pid, NULL, WNOHANG) == 0) { /* Only select if tzc is still running */
1677 purple_debug_info("zephyr", "about to read from tzc\n"); 1677 purple_debug_info("zephyr", "about to read from tzc\n");
1678 select_status = select(zephyr->fromtzc[ZEPHYR_FD_READ] + 1, &rfds, NULL, NULL, NULL); 1678 select_status = select(zephyr->fromtzc[ZEPHYR_FD_READ] + 1, &rfds, NULL, NULL, NULL);
1679 } 1679 }
1680 else { 1680 else {
1681 purple_debug_info("zephyr", "tzc exited early\n"); 1681 purple_debug_info("zephyr", "tzc exited early\n");

mercurial