#include <errno.h>
#include <syslog.h>
+#include <libgen.h>
#include <guacamole/client.h>
#include <guacamole/error.h>
}
}
+ /* Set up logging prefix */
+ strncpy(log_prefix, basename(argv[0]), sizeof(log_prefix));
+
+
/* Get addresses for binding */
if ((retval = getaddrinfo(listen_address, listen_port, &hints, &addresses))) {
guacd_log_error("Error parsing given address or port: %s",