Changeset 4de643d


Ignore:
Timestamp:
Mar 28, 2009, 6:56:38 PM (16 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
owl
Children:
c34d788
Parents:
dab82f29
Message:
Fix zcrypt patch problem
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zcrypt.c

    rdab82f29 r4de643d  
    402402
    403403    for (i = 0; i < 8; i++) {
    404       sprintf(out, "%s%c", out, ((output[i] & 0xf0) >> 4) + BASE_CODE);
    405       sprintf(out, "%s%c", out, (output[i] & 0x0f)        + BASE_CODE);
     404      sprintf(out + strlen(out), "%c", ((output[i] & 0xf0) >> 4) + BASE_CODE);
     405      sprintf(out + strlen(out), "%c", (output[i] & 0x0f)        + BASE_CODE);
    406406    }
    407407
Note: See TracChangeset for help on using the changeset viewer.