summaryrefslogtreecommitdiff
path: root/common/smtppass.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/smtppass.c')
-rw-r--r--common/smtppass.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/common/smtppass.c b/common/smtppass.c
index e00f7a1..3205026 100644
--- a/common/smtppass.c
+++ b/common/smtppass.c
@@ -1094,16 +1094,16 @@ void sp_add_log(spctx_t* ctx, char* prefix, char* line)
int l = strlen(t);
int x;
- ASSERT(l <= SP_LINE_LENGTH);
+ ASSERT(l <= SP_LOG_LINE_LEN);
/* Add up necessary lengths */
x = 2 + strlen(prefix) + strlen(line) + 1;
- if(l + x >= SP_LINE_LENGTH)
- l = SP_LINE_LENGTH - x;
+ if(l + x >= SP_LOG_LINE_LEN)
+ l = SP_LOG_LINE_LEN - x;
t += l;
- l = SP_LINE_LENGTH - l;
+ l = SP_LOG_LINE_LEN - l;
*t = 0;