diff options
author | George Hazan <george.hazan@gmail.com> | 2012-06-04 16:05:04 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-06-04 16:05:04 +0000 |
commit | a4a275e150788c7b3da197a26899a2afad393768 (patch) | |
tree | 3ea7388e3ba2a1fffe20de14a4b70c40c1e3a291 /protocols/Yahoo/file_transfer.cpp | |
parent | ab2438d317799cc265c6f392f877947c61ecd585 (diff) |
sync
git-svn-id: http://svn.miranda-ng.org/main/trunk@298 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 58958c3c4a..038ba3ea05 100644 --- a/protocols/Yahoo/file_transfer.cpp +++ b/protocols/Yahoo/file_transfer.cpp @@ -107,7 +107,7 @@ static void free_ft(y_filetransfer* ft) LOG(("[free_ft] token: %s", ft->ftoken));
for(l = file_transfers; l; l = y_list_next(l)) {
- if (l->data == ft){
+ if (l->data == ft) {
LOG(("[free_ft] Ft found and removed from the list"));
file_transfers = y_list_remove_link(file_transfers, l);
y_list_free_1(l);
@@ -324,7 +324,7 @@ static void dl_file(int id, int fd, int error, const char *filename, unsigned lo LOG(("[dl_file] Got action: %ld", sf->action));
- switch(sf->action){
+ switch(sf->action) {
case FILERESUME_RENAME:
case FILERESUME_OVERWRITE:
case FILERESUME_RESUME:
@@ -742,7 +742,7 @@ HANDLE __cdecl CYahooProto::SendFile( HANDLE hContact, const PROTOCHAR* szDescri DebugLog("Getting Yahoo ID");
*/
- if (!DBGetContactSettingString(hContact, m_szModuleName, YAHOO_LOGINID, &dbv)) {
+ if (!GetString(hContact, YAHOO_LOGINID, &dbv)) {
long tFileSize = 0;
struct _stat statbuf;
struct yahoo_file_info *fi;
|