summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/ecore_con/ecore_con.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/lib/ecore_con/ecore_con.c b/src/lib/ecore_con/ecore_con.c
index 75a23d2e54..48c84166af 100644
--- a/src/lib/ecore_con/ecore_con.c
+++ b/src/lib/ecore_con/ecore_con.c
@@ -2481,9 +2481,10 @@ _ecore_con_server_flush(Ecore_Con_Server *obj)
2481 LPTSTR s; 2481 LPTSTR s;
2482 2482
2483 FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER | 2483 FormatMessage(FORMAT_MESSAGE_ALLOCATE_BUFFER |
2484 FORMAT_MESSAGE_FROM_SYSTEM | 2484 FORMAT_MESSAGE_FROM_SYSTEM,
2485 FORMAT_MESSAGE_FROM_STRING, 2485 NULL, WSAGetLastError(),
2486 NULL, WSAGetLastError(), (DWORD)NULL, s, 0, NULL); 2486 MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT),
2487 (LPTSTR)&s, 0, NULL);
2487 ecore_con_event_server_error(obj, (char *)s); 2488 ecore_con_event_server_error(obj, (char *)s);
2488 free(s); 2489 free(s);
2489 _ecore_con_server_kill(obj); 2490 _ecore_con_server_kill(obj);