~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/my_getopt.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:
1147
1147
      putchar(' ');
1148
1148
    if (optp->comment && *optp->comment)
1149
1149
    {
1150
 
      const char *comment= _(optp->comment), *end= strend(comment);
 
1150
      const char *comment= _(optp->comment), *end= strchr(comment, '\0');
1151
1151
 
1152
1152
      while ((uint) (end - comment) > comment_space)
1153
1153
      {