Merge pull request #1206 from metalefty/xrdp-dis

show more helpful message if xrdp-dis failed
master
metalefty 6 years ago committed by GitHub
commit 98e8cec83d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save