]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
More helpful error message
authorNick Porter <nick@portercomputing.co.uk>
Mon, 5 Feb 2024 18:35:11 +0000 (18:35 +0000)
committerNick Porter <nick@portercomputing.co.uk>
Mon, 5 Feb 2024 18:35:11 +0000 (18:35 +0000)
src/modules/rlm_sqlippool/rlm_sqlippool.c

index 084ec495ace58c0128d36e07ced93c7da914d27f..cf8d9d0c64e4bccec19b18e4d4850518f7e576f4 100644 (file)
@@ -359,7 +359,7 @@ static int CC_HINT(nonnull (1, 3, 4, 5)) sqlippool_query1(char *out, int outlen,
 
        rlen = strlen((*handle)->row[0]);
        if (rlen >= outlen) {
-               RDEBUG("insufficient string space");
+               REDEBUG("The first column of the result was too long (%d)", rlen);
                goto finish;
        }