aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--radharc-ipc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/radharc-ipc.c b/radharc-ipc.c
index e246375..83f436f 100644
--- a/radharc-ipc.c
+++ b/radharc-ipc.c
@@ -83,6 +83,7 @@ main(int argc, char *argv[])
if (*arg == '&') {
if (num > (uintmax_t)INT_MAX)
usage();
+ /* TODO whoops, this should be send with that fd, not to it */
addresses[i] = malloc(sizeof("/proc/self/fd/") + strlen(&arg[1]));
if (!addresses[i])
goto fail;