~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/rpl_reporting.cc

  • 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:
42
42
  /* If the msg string ends with '.', do not add a ',' it would be ugly */
43
43
  report_function(_("Slave %s: %s%s Error_code: %d"),
44
44
                  m_thread_name, pbuff,
45
 
                  (pbuff[0] && *(strend(pbuff)-1) == '.') ? "" : ",",
 
45
                  (pbuff[0] && *(strchr(pbuff, '\0')-1) == '.') ? "" : ",",
46
46
                  err_code);
47
47
}