Changeset 1738 for trunk/dll/arccnrs.c


Ignore:
Timestamp:
Feb 22, 2014, 8:54:52 PM (11 years ago)
Author:
John Small
Message:

Ticket #519: Corrected mis-coded but probably harmless calls to strtol and removed unneeded second parameter variables.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/arccnrs.c

    r1729 r1738  
    758758                }
    759759              }
    760               else if (*p) 
     760              else if (*p)
    761761                p++;
    762762            }
     
    24192419         */
    24202420        {
    2421           CHAR *p, *pp;
     2421          CHAR *p;
    24222422          ULONG z, was;
    24232423          APIRET rc;
     
    24272427            if (rc == ERROR_ACCESS_DENIED) {
    24282428              p = strrchr(dcd->workdir, '.');
    2429               if (p) {
     2429              if (p) {          /* jbs: What if there is no "."? Give up? */
    24302430                p++;
    2431                 pp = p;
    2432                 was = strtoul(p, &pp, 16);
     2431                was = strtoul(p, NULL, 16);
    24332432                for (z = 0; z < 99; z++) {
    24342433                  was++;
Note: See TracChangeset for help on using the changeset viewer.