diff options
Diffstat (limited to 'tests/mock_guest.c')
-rw-r--r-- | tests/mock_guest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mock_guest.c b/tests/mock_guest.c index 7fb4581..f52a2d6 100644 --- a/tests/mock_guest.c +++ b/tests/mock_guest.c @@ -68,7 +68,7 @@ void _exit (int exitcode) #define BUFFER_SIZE 512 -/*Borrowed this code form socket-sucker.c in lightdm-remote-session-freerdp*/ +/*Borrowed this code form socket-sucker.c in lightdm-remote-session-freerdp2*/ int socket_sucker () { @@ -85,7 +85,7 @@ socket_sucker () serv_addr.sun_family = AF_UNIX; - int printsize = snprintf(serv_addr.sun_path, sizeof(serv_addr.sun_path) - 1, "%s/%s", home, ".freerdp-socket"); + int printsize = snprintf(serv_addr.sun_path, sizeof(serv_addr.sun_path) - 1, "%s/%s", home, ".freerdp2-socket"); if (printsize > sizeof(serv_addr.sun_path) - 1 || printsize < 0) { return -1; } |