Changeset 731 for trunk/dll/comp.c


Ignore:
Timestamp:
Jul 24, 2007, 1:18:39 AM (18 years ago)
Author:
Steven Levine
Message:

Correct ticket 24 pointer errors for Gregg

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/comp.c

    r730 r731  
    346346//=== ActionCnrThread() Do requested action on container contents ===
    347347
    348 static VOID ActionCnrThread(VOID * args)
     348static VOID ActionCnrThread(VOID *args)
    349349{
    350   COMPARE *cmp = (COMPARE *) args;
     350  COMPARE *cmp = (COMPARE *)args;
    351351  HAB hab;
    352352  HMQ hmq;
     
    355355  CHAR newname[CCHMAXPATH], dirname[CCHMAXPATH], *p;
    356356  APIRET rc;
    357   CHAR *f = 0;
    358357
    359358  if (!cmp)
     
    431430              }
    432431              else {
    433                 pci->pszFileName = xstrdup(f, pszSrcFile, __LINE__);
     432                pci->pszFileName = xstrdup(NullStr, pszSrcFile, __LINE__);
    434433                //pci->pszFileName = pci->szFileName;
    435434                pci->flags = 0;
     
    493492              pciO->cbFile = pci->cbFile;
    494493              pciO->easize = pci->easize;
    495               pciO->pszSubject = xstrdup(f, pszSrcFile, __LINE__);
    496               pci->pszFileName = xstrdup(f, pszSrcFile, __LINE__);
     494              pciO->pszSubject = xstrdup(NullStr, pszSrcFile, __LINE__);
     495              pci->pszFileName = xstrdup(NullStr, pszSrcFile, __LINE__);
    497496              //pci->pszFileName = pci->szFileName;
    498497              pci->flags = 0;
     
    574573              pciO->cbFile = pci->cbFile;
    575574              pciO->easize = pci->easize;
    576               pci->pszSubject = xstrdup(f, pszSrcFile, __LINE__);
     575              pci->pszSubject = xstrdup(NullStr, pszSrcFile, __LINE__);
    577576              pci->flags = CNRITEM_EXISTS;
    578577              WinSendMsg(hwndCnrS, CM_INVALIDATERECORD, MPFROMP(&pci),
Note: See TracChangeset for help on using the changeset viewer.