~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mystrings/strmake.c

  • Committer: Monty Taylor
  • Date: 2008-09-15 17:24:04 UTC
  • Revision ID: monty@inaugust.com-20080915172404-ygh6hiyu0q7qpa9x
Removed strndup calls.

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