$Log$
+ Revision 573.32 2000/11/27 10:29:59 error
+ * serv_chat.c: fix send_express_message() to include timestamps
+
Revision 573.31 2000/11/27 03:44:27 ajc
* Initial checkin of database_sleepycat.c (doesn't work yet)
Fri Jul 10 1998 Art Cancro <ajc@uncensored.citadel.org>
* Initial CVS import
-
#include <errno.h>
#include <sys/types.h>
#include <sys/time.h>
+#ifdef TIME_WITH_SYS_TIME
+#include <time.h>
+#endif
#include <sys/wait.h>
#include <string.h>
#include <limits.h>
mallok(sizeof (struct ExpressMessage));
memset(newmsg, 0,
sizeof (struct ExpressMessage));
+ time(&(newmsg->timestamp));
safestrncpy(newmsg->sender, lun,
sizeof newmsg->sender);
if (!strcasecmp(x_user, "broadcast"))