* Licensed under the GPL v2. For licencing details see COPYING.
*/
-/** \file format.c Functions for pretty-printing numbers and strings. */
+/** \file format.c \brief Functions for pretty-printing numbers and strings. */
#include <dirent.h> /* readdir() */
#include "adu.h"
buf = adu_strcat(buf, val);
free(val);
}
+ if (!buf)
+ buf = adu_strdup("");
return buf;
}