summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/attr.c5
-rw-r--r--lib/packet.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/attr.c b/lib/attr.c
index 23efa6e..2face5f 100644
--- a/lib/attr.c
+++ b/lib/attr.c
@@ -10,7 +10,10 @@
#include <radsec/radsec-impl.h>
int
-rs_attr_create(struct rs_connection *conn, struct rs_attr **attr, const char *type, const char *val)
+rs_attr_create(struct rs_connection *conn,
+ struct rs_attr **attr,
+ const char *type,
+ const char *val)
{
VALUE_PAIR *vp;
struct rs_attr *a;
diff --git a/lib/packet.c b/lib/packet.c
index 2611b46..e79268b 100644
--- a/lib/packet.c
+++ b/lib/packet.c
@@ -88,6 +88,7 @@ packet_do_send (struct rs_packet *pkt)
}
#endif
+ /* Put message in output buffer. */
if (pkt->conn->bev) /* TCP. */
{
int err = bufferevent_write (pkt->conn->bev, pkt->rpkt->data,