--- deliantra/server/socket/info.C 2006/12/14 20:39:54 1.19 +++ deliantra/server/socket/info.C 2006/12/16 03:08:26 1.21 @@ -45,11 +45,9 @@ * replaced with this, just using black as the color. */ static void -esrv_print_msg (client_socket * ns, int color, const char *str) +esrv_print_msg (client * ns, int color, const char *str) { - packet sl; - sl.printf ("drawinfo %d %s", color, str); - ns->send_packet (sl); + ns->send_packet_printf ("drawinfo %d %s", color, str); } /** @@ -62,12 +60,9 @@ * message The main message */ static void -esrv_print_ext_msg (client_socket * ns, int color, uint8 type, uint8 subtype, const char *message) +esrv_print_ext_msg (client * ns, int color, uint8 type, uint8 subtype, const char *message) { - packet sl; - - sl.printf ("drawextinfo %d %hhu %hhu %s", color, type, subtype, message); - ns->send_packet (sl); + ns->send_packet_printf ("drawextinfo %d %hhu %hhu %s", color, type, subtype, message); } /**