summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/radsec.c8
-rw-r--r--lib/request.c4
-rw-r--r--lib/send.c2
3 files changed, 8 insertions, 6 deletions
diff --git a/lib/radsec.c b/lib/radsec.c
index 6eb7c39..dd182c6 100644
--- a/lib/radsec.c
+++ b/lib/radsec.c
@@ -28,7 +28,7 @@
/* Public functions. */
int
-rs_context_create(struct rs_context **ctx, const char *dict)
+rs_context_create (struct rs_context **ctx, const char *dict)
{
int err = RSE_OK;
struct rs_context *h;
@@ -154,8 +154,10 @@ rs_context_destroy (struct rs_context *ctx)
rs_free (ctx, ctx);
}
-int rs_context_set_alloc_scheme(struct rs_context *ctx,
- struct rs_alloc_scheme *scheme)
+int
+rs_context_set_alloc_scheme (struct rs_context *ctx,
+ struct rs_alloc_scheme *scheme)
{
return rs_err_ctx_push_fl (ctx, RSE_NOSYS, __FILE__, __LINE__, NULL);
}
+
diff --git a/lib/request.c b/lib/request.c
index 9c4b58f..80a0a81 100644
--- a/lib/request.c
+++ b/lib/request.c
@@ -127,11 +127,11 @@ rs_request_send (struct rs_request *request, struct rs_packet **resp_msg)
conn->callbacks.received_cb = _rs_req_packet_received;
conn->callbacks.sent_cb = _rs_req_packet_sent;
- err = rs_packet_send(request->req_msg, request);
+ err = rs_packet_send (request->req_msg, request);
if (err)
goto cleanup;
- err = rs_conn_receive_packet(request->conn, request->req_msg, resp_msg);
+ err = rs_conn_receive_packet (request->conn, request->req_msg, resp_msg);
if (err)
goto cleanup;
diff --git a/lib/send.c b/lib/send.c
index c49eaa9..871d657 100644
--- a/lib/send.c
+++ b/lib/send.c
@@ -96,7 +96,7 @@ rs_packet_send (struct rs_packet *pkt, void *user_data)
bufferevent_setcb (conn->bev, NULL, tcp_write_cb, tcp_event_cb, pkt);
bufferevent_enable (conn->bev, EV_WRITE);
}
- else /* UDP */
+ else /* UDP */
{
err = event_add (conn->wev, NULL);
if (err < 0)