~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/rpl_mi.cc

  • Committer: Patrick Galbraith
  • Date: 2008-07-16 18:48:24 UTC
  • mto: (77.3.28 glibclient)
  • mto: This revision was merged to the branch mainline in revision 176.
  • Revision ID: patg@ishvara-20080716184824-nyd9po8rwk00l2qu
Dar, I forgot to commit this earlier.

* Removed my_sprintf from the files below
* Fixed some small issues that cause compile to fail (pedantic picky-ousity)

Show diffs side-by-side

added added

removed removed

Lines of Context:
363
363
     of file we don't care about this garbage.
364
364
  */
365
365
  char heartbeat_buf[sizeof(mi->heartbeat_period) * 4]; // buffer to suffice always
366
 
  my_sprintf(heartbeat_buf, (heartbeat_buf, "%.3f", mi->heartbeat_period));
 
366
  sprintf(heartbeat_buf, "%.3f", mi->heartbeat_period);
367
367
  my_b_seek(file, 0L);
368
368
  my_b_printf(file,
369
369
              "%u\n%s\n%s\n%s\n%s\n%s\n%d\n%d\n%d\n%s\n%s\n%s\n%s\n%s\n%d\n%s\n",