Changeset 151 in libcf for trunk/test/codec.c


Ignore:
Timestamp:
10/31/13 10:17:24 (11 years ago)
Author:
cheese
Message:

#1 fix interface and add util module

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/codec.c

    r96 r151  
    2525
    2626    CF_DEBUG_PRINT (stderr, "= Convert hex to binary =\n");
    27     if (CF_Codec_Hex_Decode (encode, bin, &length) < 0) {
    28         // error
    29     }
     27    if (CF_Codec_Hex_Decode (encode, bin, &length) < 0)
     28        CF_DEBUG_PRINT (stderr, "error\n");
    3029    else
    3130        CF_DEBUG_PRINT_BIN (stderr, bin, length, "bin    : %s\n", bin);
Note: See TracChangeset for help on using the changeset viewer.