sasl: rename SASL_MAX_OUT_LINE_LENGTH
This is now only used to represent the size of the OK reply, so
name it accordingly.
#include <stdlib.h>
#include <sys/types.h>
-/* the longest reply line is "OK 0123456789abcdef0123456789abdcef\r\n" */
-#define SASL_MAX_OUT_LINE_LENGTH (37)
+/* the OK reply has length "OK 0123456789abcdef0123456789abdcef\r\n" */
+#define SASL_OK_LINE_LENGTH (37)
typedef struct SASL SASL;
typedef enum SASLState SASLState;
@@ -24,7 +24,7 @@ enum SASLState {
struct SASL {
SASLState state;
uid_t uid;
- char ok_response[SASL_MAX_OUT_LINE_LENGTH];
+ char ok_response[SASL_OK_LINE_LENGTH];
};
void sasl_init(SASL *sasl, uid_t uid, char *guid);
