Displaying 1 result from an estimated 1 matches for "tmpcli".
Did you mean:
nmcli
2007 Jan 23
2
Re: [nut-commits] svn commit r731
...AVE_IPV6
> - upslogx(LOG_INFO, "Connection from %s", inet_ntoa(csock.sin_addr));
> -#else
> upslogx(LOG_INFO, "Connection from %s", tmp->addr);
> -#endif
> }
>
> /* read tcp messages and handle them */
> @@ -625,6 +688,24 @@
> {
> ctype *tmpcli, *tmpnext;
> upstype *ups, *unext;
> + stype *stmp, *snext;
> +
> + /* cleanup server fds */
> + stmp = firstaddr;
> +
> + while (stmp) {
> + snext = stmp->next;
> +
> + if (stmp->sock_fd != -1)
> + close(stmp->sock_fd);
> + if (stmp->addr != N...