~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/default_modify.c

  • Committer: Brian Aker
  • Date: 2008-09-04 18:16:51 UTC
  • Revision ID: brian@tangent.org-20080904181651-kydoxckk145z99b8
strend remove

Show diffs side-by-side

added added

removed removed

Lines of Context:
123
123
         *(src_ptr + opt_len) == '\0'))
124
124
    {
125
125
      char *old_src_ptr= src_ptr;
126
 
      src_ptr= strend(src_ptr+ opt_len);        /* Find the end of the line */
 
126
      src_ptr= strchr(src_ptr+ opt_len, '\0');        /* Find the end of the line */
127
127
 
128
128
      /* could be negative */
129
129
      reserve_occupied+= (int) new_opt_len - (int) (src_ptr - old_src_ptr);