Commit 6fc7385e authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(mux_handle_packet): Fixed printf-style modifiers in VBUG calls.

(login_request): Likewise.
(logout_request): Likewise.
parent 3ffad49e
/*
* $Id: connections.c,v 0.47 1996/08/03 01:30:45 ceder Exp $
* $Id: connections.c,v 0.48 1996/08/04 01:28:07 ceder Exp $
* Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -30,7 +30,7 @@
* Created by Willf|r 31/3-90. Mostly written by ceder.
*/
static char *rcsid = "$Id: connections.c,v 0.47 1996/08/03 01:30:45 ceder Exp $";
static char *rcsid = "$Id: connections.c,v 0.48 1996/08/04 01:28:07 ceder Exp $";
#include "rcs.h"
USE(rcsid);
......@@ -463,16 +463,16 @@ mux_handle_packet(Mux *mux)
cp = mcp->conn;
VBUG(("\n[Message client %lu via MUX #%d]\n",
cp->session_no, (int)mux->scb));
VBUG(("\n[Message client %lu via MUX #%lu]\n",
cp->session_no, (unsigned long)mux->scb));
parse_message(cp, mux->parse.string);
break;
default:
VBUG(("\nMUX Protocol error from MUX #%d]\n",
(int)mux->scb));
VBUG(("\nMUX Protocol error from MUX #%lu]\n",
(unsigned long)mux->scb));
isc_printf(mux->scb, "5\n");
isc_flush(mux->scb);
......@@ -780,8 +780,8 @@ login_request(IscEvent *event)
*/
event->session->udg = mux_create(MUX_TYPE_MUX, event->session);
BUG(("MUX #%d at %s connecting.\n",
(int)event->session,
BUG(("MUX #%lu at %s connecting.\n",
(unsigned long)event->session,
isc_gethostname(event->session->info.tcp.raddr, NULL, 0)));
}
else if (localport == param.num_ip_client_port)
......@@ -844,7 +844,7 @@ logout_request(IscEvent *event)
if (event->session->udg->type == MUX_TYPE_MUX)
{
BUG(("\n[MUX #%d at %s", (int)event->session,
BUG(("\n[MUX #%lu at %s", (unsigned long)event->session,
isc_gethostname(event->session->info.tcp.raddr, NULL, 0)));
BUG((" is logging out]\n"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment