diff options
author | Pavel Roskin <plroskin@gmail.com> | 2016-11-13 08:45:57 -0800 |
---|---|---|
committer | Pavel Roskin <plroskin@gmail.com> | 2016-11-15 22:40:06 -0800 |
commit | 16c3bbdb8d14868644bd4df499569489721af93b (patch) | |
tree | 4c2f8dcbefd7ba35d7e4e107945a3c5f464325c1 /sesman | |
parent | e8185caf319db95554f7f3a239e962ca96e24fd4 (diff) | |
download | xrdp-proprietary-16c3bbdb8d14868644bd4df499569489721af93b.tar.gz xrdp-proprietary-16c3bbdb8d14868644bd4df499569489721af93b.zip |
Remove all tabs in sources
Diffstat (limited to 'sesman')
-rw-r--r-- | sesman/chansrv/chansrv.c | 8 | ||||
-rwxr-xr-x | sesman/chansrv/pcsc/wrapper/winscard-funcs.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sesman/chansrv/chansrv.c b/sesman/chansrv/chansrv.c index 89040377..2d2160fc 100644 --- a/sesman/chansrv/chansrv.c +++ b/sesman/chansrv/chansrv.c @@ -1407,13 +1407,13 @@ get_log_path() memcpy(cp, log_path, strlen(log_path)); memcpy(cp + strlen(log_path), "/xrdp", strlen("/xrdp") + 1); if (g_directory_exist(cp) || g_mkdir(cp)) - { + { log_path = cp; - } + } else - { + { free(cp); - } + } } } } diff --git a/sesman/chansrv/pcsc/wrapper/winscard-funcs.h b/sesman/chansrv/pcsc/wrapper/winscard-funcs.h index 0a4198a3..d28e1445 100755 --- a/sesman/chansrv/pcsc/wrapper/winscard-funcs.h +++ b/sesman/chansrv/pcsc/wrapper/winscard-funcs.h @@ -107,7 +107,7 @@ typedef LONG WINAPI (*tSCardFreeMemory)(SCARDCONTEXT hContext, LPCVOID pvMem); typedef LONG WINAPI (*tSCardLocateCardsA)(SCARDCONTEXT hContext, LPCSTR mszCards, - LPSCARD_READERSTATEA rgReaderStates, DWORD cReaders); + LPSCARD_READERSTATEA rgReaderStates, DWORD cReaders); typedef LONG WINAPI (*tSCardLocateCardsW)(SCARDCONTEXT hContext, LPCWSTR mszCards, LPSCARD_READERSTATEW rgReaderStates, DWORD cReaders); @@ -160,7 +160,7 @@ typedef LONG WINAPI typedef LONG WINAPI (*tSCardControl)(SCARDHANDLE hCard, DWORD dwControlCode, LPCVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, - DWORD nOutBufferSize, LPDWORD lpBytesReturned); + DWORD nOutBufferSize, LPDWORD lpBytesReturned); typedef LONG WINAPI (*tSCardGetAttrib)(SCARDHANDLE hCard, DWORD dwAttrId, LPBYTE pbAttr, LPDWORD pcbAttrLen); |