Changeset 1063 for trunk/dll/wrappers.c


Ignore:
Timestamp:
Jul 11, 2008, 5:33:36 AM (17 years ago)
Author:
Gregg Young
Message:

Fortify ifdef reformat

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/wrappers.c

    r1037 r1063  
    333333{
    334334  if (pv && pv != NullStr) {
    335 # ifdef FORTIFY
     335#   ifdef FORTIFY
    336336    Fortify_free(pv, pszSrcFile, uiLineNumber);
    337 # else
     337#   else
    338338    free(pv);
    339 # endif
     339#    endif
    340340
    341341  }
     
    350350# else
    351351  PVOID pv = malloc(cBytes);
    352 # endif
     352#  endif
    353353
    354354  if (!pv)
     
    375375{
    376376  if (pvIn != NullStr) {
    377 # ifdef FORTIFY
    378   PVOID pv = Fortify_realloc(pvIn, cBytes, pszSrcFile, uiLineNumber);
    379 # else
    380   PVOID pv = realloc(pvIn, cBytes);
    381 # endif
     377#   ifdef FORTIFY
     378    PVOID pv = Fortify_realloc(pvIn, cBytes, pszSrcFile, uiLineNumber);
     379#   else
     380    PVOID pv = realloc(pvIn, cBytes);
     381#    endif
    382382
    383383    if (!pv && cBytes)
     
    398398# else
    399399  PSZ psz = strdup(pszIn);
    400 # endif
     400#  endif
    401401
    402402  if (!psz)
Note: See TracChangeset for help on using the changeset viewer.