diff options
Diffstat (limited to 'src/socket.c')
-rw-r--r-- | src/socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/socket.c b/src/socket.c index c94ad4b..f239074 100644 --- a/src/socket.c +++ b/src/socket.c @@ -1,5 +1,5 @@ /* This file is part of GNU Pies. - Copyright (C) 2007, 2008, 2009, 2010, 2013 Sergey Poznyakoff + Copyright (C) 2007-2010, 2013, 2016 Sergey Poznyakoff GNU Pies is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -440,7 +440,7 @@ register_socket (int fd, socket_handler_t ex, void *data) { - struct sockinst *sip = xmalloc (sizeof *sip); + struct sockinst *sip = grecs_malloc (sizeof *sip); sip->fd = fd; sip->dead = 0; sip->handler[PIES_EVT_RD] = rd; |