From 155d9206a4d5b199d056b2932c62c292e58c0d69 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Mon, 4 Dec 2006 02:07:30 +0000 Subject: [PATCH] Added send_msg_int() function. --- io.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/io.c b/io.c index 79fb7e93..33a0e654 100644 --- a/io.c +++ b/io.c @@ -405,6 +405,13 @@ int send_msg(enum msgcode code, const char *buf, int len) return 1; } +void send_msg_int(enum msgcode code, int num) +{ + char numbuf[4]; + SIVAL(numbuf, 0, num); + send_msg(code, numbuf, 4); +} + int get_redo_num(int itemizing, enum logcode code) { while (1) { -- 2.34.1