diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-02 20:55:18 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-02 20:55:18 +0000 |
commit | 78c0815c4118fe24ab78cce2dc48a6232dcd824a (patch) | |
tree | 8512c50df70b8dd80c919e88ade3419207c95956 /protocols/Yahoo/file_transfer.cpp | |
parent | ce816d83a8c75808e0eb06832592bffefe4a8dc4 (diff) |
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Yahoo/file_transfer.cpp')
-rw-r--r-- | protocols/Yahoo/file_transfer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Yahoo/file_transfer.cpp b/protocols/Yahoo/file_transfer.cpp index c18ef4c22b..58958c3c4a 100644 --- a/protocols/Yahoo/file_transfer.cpp +++ b/protocols/Yahoo/file_transfer.cpp @@ -162,7 +162,7 @@ static void upload_file(int id, int fd, int error, void *data) error = 1;
}
- if(!error) {
+ if (!error) {
HANDLE myhFile = CreateFile(sf->pfts.tszCurrentFile,
GENERIC_READ,
FILE_SHARE_READ|FILE_SHARE_WRITE,
@@ -304,7 +304,7 @@ static void dl_file(int id, int fd, int error, const char *filename, unsigned lo error = 1;
}
- if(!error) {
+ if (!error) {
HANDLE myhFile;
TCHAR filefull[MAX_PATH];
@@ -734,7 +734,7 @@ HANDLE __cdecl CYahooProto::SendFile( HANDLE hContact, const PROTOCHAR* szDescri /*DebugLog("Getting Files");
- if ( ppszFiles[1] != NULL ){
+ if ( ppszFiles[1] != NULL ) {
MessageBoxA(NULL, "YAHOO protocol allows only one file to be sent at a time", "Yahoo", MB_OK | MB_ICONINFORMATION);
return 0;
}
|