~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/pbms/src/cslib/CSStrUtil.cc

  • Committer: pcrews
  • Date: 2011-05-24 17:36:24 UTC
  • mfrom: (1099.4.232 drizzle)
  • Revision ID: pcrews@lucid32-20110524173624-mwr1bvq6fa1r01ao
Updated translations + 2011.05.18 tarball tag

Show diffs side-by-side

added added

removed removed

Lines of Context:
741
741
 
742
742
#define HEX_DIGIT(x)    ((x) <= 9 ? '0' + (x) : 'A' + ((x) - 10))
743
743
 
 
744
// NOTE: cs_bin_to_hex() Always null terminates the result.
744
745
void cs_bin_to_hex(size_t size, char *hex, size_t len, const void *v_bin)
745
746
{
746
747
        const u_char *bin = (u_char *) v_bin;