Content-Length: 259792 | pFad | http://github.com/postgrespro/postgres_cluster/commit/45d18188f25cdb7dc05d999d5b54f5501d66ebc7

AE Trace more information · postgrespro/postgres_cluster@45d1818 · GitHub
Skip to content

Commit 45d1818

Browse files
committed
Trace more information
1 parent 866f8d1 commit 45d1818

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

contrib/multimaster/sockhub/sockhub.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ static void close_socket(Shub* shub, int fd)
9595
close(fd);
9696
#ifdef USE_EPOLL
9797
if (epoll_ctl(shub->epollfd, EPOLL_CTL_DEL, fd, NULL) < 0) {
98-
shub->params->error_handler("Failed to add socket to epoll set", SHUB_RECOVERABLE_ERROR);
98+
char buf[ERR_BUF_SIZE];
99+
sprintf(buf, "Failed to remove socket %d from epoll set", fd);
100+
shub->params->error_handler(buf, SHUB_RECOVERABLE_ERROR);
99101
}
100102
#else
101103
FD_CLR(fd, &shub->inset);

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/45d18188f25cdb7dc05d999d5b54f5501d66ebc7

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy