From 3fe76c6aea8f933ca2460e29b0b55e965507c4d5 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Wed, 22 Jun 2005 19:27:43 +0000 Subject: [PATCH] correct improperly applied patch from bug 4405 (bug #4573) git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@231 2fbb986a-6c06-0410-b554-c9c1f0a7f128 --- q931.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/q931.c b/q931.c index 7383b21..e190704 100755 --- a/q931.c +++ b/q931.c @@ -3084,10 +3084,13 @@ int q931_hangup(struct pri *pri, q931_call *c, int cause) case Q931_CALL_STATE_RESTART: case Q931_CALL_STATE_RESTART_REQUEST: /* sent RESTART */ - pri_error(pri, "q931_hangup shouldn't be called in this state, ourstate %s, peerstate %s\n",c->ourcallstate,callstate2str(c->ourcallstate),callstate2str(c->peercallstate)); + pri_error(pri, "q931_hangup shouldn't be called in this state, ourstate %s, peerstate %s\n",callstate2str(c->ourcallstate),callstate2str(c->peercallstate)); break; default: - pri_error(pri, "We're not yet handling hanging up when our state is %d, contact support@digium.com, ourstate %s, peerstate %s\n",callstate2str(c->ourcallstate),callstate2str(c->peercallstate)); + pri_error(pri, "We're not yet handling hanging up when our state is %d, contact support@digium.com, ourstate %s, peerstate %s\n", + c->ourcallstate, + callstate2str(c->ourcallstate), + callstate2str(c->peercallstate)); return -1; } /* we did handle hangup properly at this point */