Browse Source

Realloc the correct variable

master
Con Kolivas 11 years ago
parent
commit
d83a6cdcde
  1. 2
      src/ckpool.c

2
src/ckpool.c

@ -888,7 +888,7 @@ int main(int argc, char **argv)
quit(1, "Failed to make directory %s", ckp.ckdb_sockdir); quit(1, "Failed to make directory %s", ckp.ckdb_sockdir);
ckp.ckdb_sockname = ckp.ckdb_sockdir; ckp.ckdb_sockname = ckp.ckdb_sockdir;
realloc_strcat(&ckp.ckdb_sockdir, "listener"); realloc_strcat(&ckp.ckdb_sockname, "listener");
/* Ignore sigpipe */ /* Ignore sigpipe */
signal(SIGPIPE, SIG_IGN); signal(SIGPIPE, SIG_IGN);

Loading…
Cancel
Save