diff options
author | George Hazan <george.hazan@gmail.com> | 2013-10-11 14:01:25 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-10-11 14:01:25 +0000 |
commit | 773421e8ba17637d994088c393d406226b516a30 (patch) | |
tree | 130c0bf529e30f493ae4f2abbe1230d31fecdeed /protocols/Yahoo/src/yahoo.h | |
parent | 3fc8b6f686262e8a595fc10b2bd947526ca77bdc (diff) |
- m_hNetlibUser moved to PROTO_INTERFACE;
- unified protocol loggers
git-svn-id: http://svn.miranda-ng.org/main/trunk@6435 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Yahoo/src/yahoo.h')
-rw-r--r-- | protocols/Yahoo/src/yahoo.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/protocols/Yahoo/src/yahoo.h b/protocols/Yahoo/src/yahoo.h index de2e1fbfbf..c99d1e13be 100644 --- a/protocols/Yahoo/src/yahoo.h +++ b/protocols/Yahoo/src/yahoo.h @@ -68,13 +68,11 @@ extern "C" #define YAHOO_DEFAULT_JAPAN_LOGIN_SERVER "cs.yahoo.co.jp"
#define YAHOO_CUSTOM_STATUS 99
-#define YAHOO_DEBUGLOG DebugLog
-
extern int do_yahoo_debug;
-#define LOG(x) if (do_yahoo_debug) { YAHOO_DEBUGLOG("%s:%d: ", __FILE__, __LINE__); \
- YAHOO_DEBUGLOG x; \
- YAHOO_DEBUGLOG(" ");}
+#define LOG(x) if (do_yahoo_debug) { debugLogA("%s:%d: ", __FILE__, __LINE__); \
+ debugLogA x; \
+ debugLogA(" ");}
#define YAHOO_SET_CUST_STAT "/SetCustomStatCommand"
#define YAHOO_EDIT_MY_PROFILE "/YahooEditMyProfileCommand"
@@ -120,9 +118,9 @@ yahoo_status miranda_to_yahoo(int myyahooStatus); void register_callbacks();
#ifdef __GNUC__
- int DebugLog( const char *fmt, ... ) __attribute__ ((format (printf, 1, 2)));
+ int debugLogA( const char *fmt, ... ) __attribute__ ((format (printf, 1, 2)));
#else
- int DebugLog( const char *fmt, ... );
+ int debugLogA( const char *fmt, ... );
#endif
void SetButtonCheck(HWND hwndDlg, int CtrlID, BOOL bCheck);
|