diff --git a/src/unixsock.c b/src/unixsock.c
index 795f7abe2120f7e4d4930895f9c1af014a7addeb..1840e34c45a157825fd8a9b8052a1b56500480ca 100644 (file)
--- a/src/unixsock.c
+++ b/src/unixsock.c
pthread_exit ((void *) 1);
}
pthread_exit ((void *) 1);
}
- remote_fd = (int *) malloc (sizeof (int));
+ remote_fd = malloc (sizeof (*remote_fd));
if (remote_fd == NULL)
{
char errbuf[1024];
if (remote_fd == NULL)
{
char errbuf[1024];