aboutsummaryrefslogtreecommitdiff
path: root/comms/birda/files
diff options
context:
space:
mode:
authorPierre Beyssac <pb@FreeBSD.org>2003-07-16 12:21:07 +0000
committerPierre Beyssac <pb@FreeBSD.org>2003-07-16 12:21:07 +0000
commit3d6c3a1655e79c47e6b013ffce160ebca29b6988 (patch)
treea916bcf25d704c9e0c734507d5859b7d651ef1d6 /comms/birda/files
parentf373176813d0cd177b8cabc08f470bfbd25915a4 (diff)
downloadports-3d6c3a1655e79c47e6b013ffce160ebca29b6988.tar.gz
ports-3d6c3a1655e79c47e6b013ffce160ebca29b6988.zip
Notes
Diffstat (limited to 'comms/birda/files')
-rw-r--r--comms/birda/files/patch-iassrv.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/comms/birda/files/patch-iassrv.c b/comms/birda/files/patch-iassrv.c
new file mode 100644
index 000000000000..185394fe4571
--- /dev/null
+++ b/comms/birda/files/patch-iassrv.c
@@ -0,0 +1,22 @@
+--- src/iassrv.c.orig Sun Dec 16 19:22:20 2001
++++ src/iassrv.c Wed Jul 16 14:08:55 2003
+@@ -281,6 +281,7 @@
+
+ static void status(Connection* con, int event, void* buf, int len)
+ {
++ int flags;
+ IASConnection* ic=(IASConnection*)con->handle;
+
+ if(event==CONN_CLOSED) {
+@@ -300,9 +301,10 @@
+
+ if(ic->outBuf) freeMem(ic->outBuf);
+ if(ic->inBuf) freeMem(ic->inBuf);
++ flags = ic->ias->ias.debug&IAS_DEBUG_INFO;
+ freeMem(ic);
+ connClose(con);
+- if(ic->ias->ias.debug&IAS_DEBUG_INFO) log("ias closed\n");
++ if(flags) log("ias closed\n");
+ }
+ }
+