Changeset 1689 for zzuf


Ignore:
Timestamp:
Jan 17, 2007, 5:26:40 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Add %x to the format string parameters supported by debug().
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/src/debug.c

    r1688 r1689  
    102102            WRITE_INT(fd, i, 10);
    103103        }
     104        else if(*f == 'x')
     105        {
     106            int i = va_arg(args, int);
     107            WRITE_INT(fd, i, 16);
     108        }
    104109        else if(f[0] == 'l' && f[1] == 'i')
    105110        {
Note: See TracChangeset for help on using the changeset viewer.