show more helpful message if xrdp-dis failed
#include <unistd.h>
#include <sys/socket.h>
#include <sys/un.h>
+#include <errno.h>
#include "xrdp_sockets.h"
@@ -76,6 +77,10 @@ int main(int argc, char **argv)
{
printf("message sent ok\n");
}
+ else
+ {
+ printf("message send failed: %s\n", strerror(errno));
+ }
return 0;
}
