@@ -377,7 +377,7 @@ START_TEST(test_logger_parse_field_pid)
ck_assert_int_eq(ret, 0);
ck_assert_int_eq(field.type, pyfcgi_logger_field_pid);
ck_assert_int_ne(field.known_length, 0);
- ck_assert_int_eq(field.len, PYFCGI_LOG_PID_LEN);
+ ck_assert_int_eq(field.len, PYFCGI_LOG_PID_LEN-1);
ck_assert_ptr_eq(field.val, (&PyFCGI_conf.context.pid));
val++;
}