Re: time and sprintf

From: George Greer (greerga@circlemud.org)
Date: 08/12/00


On Sat, 12 Aug 2000, Jason Stortz wrote:

><---------------------------------------------------------->
>sprintf(report,"Timeing took %d.%06d
>seconds.\r\n",etime.tv_sec,etime.tv_usec);
>send_to_char(report,ch);
><---------------------------------------------------------->

You probably want %lu, and it's 'timing' not 'timeing'

/usr/dict/words is your friend.

--
George Greer
greerga@circlemud.org


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/11/01 PDT