ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/socket/info.C
(Generate patch)

Comparing deliantra/server/socket/info.C (file contents):
Revision 1.47 by root, Thu Nov 8 19:43:29 2007 UTC vs.
Revision 1.48 by root, Tue May 6 16:44:54 2008 UTC

486 pl->contr->ns->send_packet (sl); 486 pl->contr->ns->send_packet (sl);
487 487
488 free (map_mark); 488 free (map_mark);
489} 489}
490 490
491/**
492 * Send a kill log record to sockets
493 */
494void
495Log_Kill (const char *Who, const char *What, int WhatType, const char *With, int WithType)
496{
497 size_t len;
498 char buf[MAX_BUF];
499
500 if (With != NULL)
501 snprintf (buf, MAX_BUF, "%s\t%s\t%d\t%s\t%d\n", Who, What, WhatType, With, WithType);
502 else
503 snprintf (buf, MAX_BUF, "%s\t%s\t%d\n", Who, What, WhatType);
504
505 len = strlen (buf);
506}
507

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines