|
|
| version 1.4, 2005/03/19 20:46:07 | version 1.6, 2007/01/08 08:52:21 |
|---|---|
| Line 30 static HANDLE check_sakura(void) { | Line 30 static HANDLE check_sakura(void) { |
| HANDLE hsakura; | HANDLE hsakura; |
| hsakura = OpenMutex(MUTEX_ALL_ACCESS, FALSE, OEMTEXT("sakura")); | hsakura = OpenMutex(MUTEX_ALL_ACCESS, FALSE, _T("sakura")); |
| if (hsakura != NULL) { | if (hsakura != NULL) { |
| CloseHandle(hsakura); | CloseHandle(hsakura); |
| } | } |
| Line 105 sstp_senderror:; | Line 105 sstp_senderror:; |
| void sstp_connect(void) { | void sstp_connect(void) { |
| if (hSocket != INVALID_SOCKET) { | if (hSocket != INVALID_SOCKET) { |
| send(hSocket, sstpstr, strlen(sstpstr), 0); | send(hSocket, sstpstr, (int)strlen(sstpstr), 0); |
| } | } |
| } | } |
| Line 208 BOOL sstp_sendonly(const OEMCHAR *msg) { | Line 208 BOOL sstp_sendonly(const OEMCHAR *msg) { |
| #else | #else |
| OEMSPRINTF(msgstr, sendermes, msg); | OEMSPRINTF(msgstr, sendermes, msg); |
| #endif | #endif |
| send(lSocket, msgstr, strlen(msgstr), 0); | send(lSocket, msgstr, (int)strlen(msgstr), 0); |
| ret = SUCCESS; | ret = SUCCESS; |
| } | } |
| closesocket(lSocket); | closesocket(lSocket); |