/[openpgpmdrv]/trunk/OpenPGPminidriver/Tracing.c
ViewVC logotype

Diff of /trunk/OpenPGPminidriver/Tracing.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 7 by vletoux, Thu Mar 4 21:50:46 2010 UTC revision 8 by vletoux, Thu Mar 11 20:32:26 2010 UTC
# Line 62  void TraceEx(LPCSTR szFile, DWORD dwLine Line 62  void TraceEx(LPCSTR szFile, DWORD dwLine
62          if (!hPub) TracingRegister();          if (!hPub) TracingRegister();
63    
64          va_start (ap, szFormat);          va_start (ap, szFormat);
65          ret = _vsnwprintf_s (Buffer, 256, 256, szFormat, ap);          ret = _vsnwprintf_s (Buffer, 256, _TRUNCATE, szFormat, ap);
66          va_end (ap);          va_end (ap);
67          if (ret <= 0) return;          if (ret <= 0) return;
68          if (ret > 256) ret = 255;          if (ret > 256) ret = 255;

Legend:
Removed from v.7  
changed lines
  Added in v.8

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26