From 6bbe0b7b0f609ecab831dec9be7690842bf0a0fc Mon Sep 17 00:00:00 2001 From: Stuart Henderson Date: Wed, 8 Feb 2023 16:35:22 +0000 Subject: cope with radcli-1.3.1 RC_BUFFER_LEN radcli 1.3.1 now uses RC_BUFFER_LEN instead of BUFFER_LEN. Add an #ifdef to allow working with either. --- plugins/check_radius.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugins/check_radius.c') diff --git a/plugins/check_radius.c b/plugins/check_radius.c index be1001b4..96a95553 100644 --- a/plugins/check_radius.c +++ b/plugins/check_radius.c @@ -155,7 +155,11 @@ main (int argc, char **argv) { struct sockaddr_storage ss; char name[HOST_NAME_MAX]; +#ifdef RC_BUFFER_LEN + char msg[RC_BUFFER_LEN]; +#else char msg[BUFFER_LEN]; +#endif SEND_DATA data; int result = STATE_UNKNOWN; uint32_t client_id, service; -- cgit v1.2.3-74-g34f1 From 24e99301b4776071b0d65df3426ebb41f4347475 Mon Sep 17 00:00:00 2001 From: Jan Wagner Date: Sun, 16 Apr 2023 17:36:48 +0000 Subject: Fix a psuedo typo --- plugins/check_pgsql.c | 2 +- plugins/check_radius.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/check_radius.c') diff --git a/plugins/check_pgsql.c b/plugins/check_pgsql.c index c26cd439..94a03b21 100644 --- a/plugins/check_pgsql.c +++ b/plugins/check_pgsql.c @@ -93,7 +93,7 @@ int verbose = 0; /****************************************************************************** -The (psuedo?)literate programming XML is contained within \@\@\- \-\@\@ +The (pseudo?)literate programming XML is contained within \@\@\- \-\@\@ tags in the comments. With in the tags, the XML is assembled sequentially. You can define entities in tags. You also have all the #defines available as entities. diff --git a/plugins/check_radius.c b/plugins/check_radius.c index 96a95553..984aa37e 100644 --- a/plugins/check_radius.c +++ b/plugins/check_radius.c @@ -97,7 +97,7 @@ int verbose = FALSE; /****************************************************************************** -The (psuedo?)literate programming XML is contained within \@\@\- \-\@\@ +The (pseudo?)literate programming XML is contained within \@\@\- \-\@\@ tags in the comments. With in the tags, the XML is assembled sequentially. You can define entities in tags. You also have all the #defines available as entities. -- cgit v1.2.3-74-g34f1