Changeset 21971 for trunk/src/secur32


Ignore:
Timestamp:
Feb 17, 2012, 11:35:56 AM (14 years ago)
Author:
dmik
Message:

Fix debug build break (r21967 regression).

Some code doesn't actually use RTL_CRITICAL_SECTION which
contains the needed debug fields.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/secur32/secur32.c

    r21967 r21971  
    560560    InitializeCriticalSection(&cs);
    561561#ifdef DEBUG
    562     cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": cs");
     562    //cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": cs");
    563563#endif
    564564    /* First load built-in providers */
     
    710710    LeaveCriticalSection(&cs);
    711711#ifdef DEBUG
    712     cs.DebugInfo->Spare[0] = 0;
     712    //cs.DebugInfo->Spare[0] = 0;
    713713#endif
    714714    DeleteCriticalSection(&cs);
Note: See TracChangeset for help on using the changeset viewer.