=== modified file 'TODO' --- TODO 2014-03-27 21:24:33 +0000 +++ TODO 2014-06-06 12:26:56 +0000 @@ -23,6 +23,7 @@ ** TODO [#B] Use capabilities instead of seteuid(). ** TODO [#B] Use getaddrinfo(hints=AI_NUMERICHOST) instead of inet_pton() ** TODO [#C] Make start_mandos_communication() take "struct server". +** TODO [#B] Use openat(), fstatat() etc. to avoid asprintf(). * splashy ** TODO [#B] use scandir(3) instead of readdir(3) === modified file 'plugins.d/mandos-client.c' --- plugins.d/mandos-client.c 2014-03-29 05:16:37 +0000 +++ plugins.d/mandos-client.c 2014-06-06 12:26:56 +0000 @@ -2486,7 +2486,7 @@ if(debug){ fprintf_plus(stderr, "Starting Avahi loop search\n"); } - + ret = avahi_loop_with_timeout(simple_poll, (int)(retry_interval * 1000), &mc); if(debug){ @@ -2596,7 +2596,7 @@ free(fullname); } } - + /* need to clean even if 0 because man page doesn't specify */ free(direntries); if(numentries == -1){