Changeset 13966


Ignore:
Timestamp:
Feb 4, 2013, 8:48:33 PM (8 years ago)
Author:
jordan
Message:

(libT) when logging on win32, use OutputDebugStringA instead of OutputDebugString?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/log.c

    r13868 r13966  
    3333  /* make null versions of these win32 functions */
    3434  static inline int IsDebuggerPresent (void) { return false; }
    35   static inline void OutputDebugString (const void * unused UNUSED) { }
     35  static inline void OutputDebugStringA (const void * unused UNUSED) { }
    3636#endif
    3737
     
    207207      /* FIXME (libevent2) ifdef this out for nonwindows platforms */
    208208      message = evbuffer_free_to_str (buf);
    209       OutputDebugString (message);
     209      OutputDebugStringA (message);
    210210      if (fp)
    211211        fputs (message, fp);
     
    239239  va_end (ap);
    240240
    241   OutputDebugString (buf);
     241  OutputDebugStringA (buf);
    242242
    243243  if (*buf)
Note: See TracChangeset for help on using the changeset viewer.