~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/strmake.c

  • Committer: Stewart Smith
  • Date: 2008-09-25 10:04:06 UTC
  • mto: This revision was merged to the branch mainline in revision 408.
  • Revision ID: stewart@flamingspork.com-20080925100406-hld92f4dr4nuar3a
Move compression functions (compress, uncompress and compressed_length) out into modules and fix test

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
    write a character rather than '\0' as this makes spotting these
41
41
    problems in the results easier.
42
42
  */
43
 
  uint32_t n= 0;
 
43
  uint n= 0;
44
44
  while (n < length && src[n++]);
45
45
  memset(dst + n, (int) 'Z', length - n + 1);
46
46
#endif