1 Star 0 Fork 43

liyunfei/openldap-pr-test_1

forked from liyunfei/openldap-pr-test 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
backport-ITS-9898-tests-fix-slapd-addel-non-std-syntax.patch 879 Bytes
一键复制 编辑 原始数据 按行查看 历史
compile_success 提交于 2022-11-07 12:04 . backport patch
From 21abafcc9d040b0aa1cf7e47b76abc975e27dc68 Mon Sep 17 00:00:00 2001
From: Howard Chu <hyc@openldap.org>
Date: Tue, 9 Aug 2022 18:11:30 +0100
Subject: [PATCH] ITS#9898 tests: fix slapd-addel non-std syntax
Broken in f5bef58cae5e16d56c48b1efd55249fa7ce54cc6
---
tests/progs/slapd-addel.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/progs/slapd-addel.c b/tests/progs/slapd-addel.c
index ca007ce3f..f67c1fbde 100644
--- a/tests/progs/slapd-addel.c
+++ b/tests/progs/slapd-addel.c
@@ -65,9 +65,9 @@ main( int argc, char **argv )
char *filename = NULL, *buf = NULL;
int friendly = 0;
struct LDIFFP *fp;
- LDIFRecord record = {};
+ LDIFRecord record = {0};
struct tester_conn_args *config;
- struct berval bv = {};
+ struct berval bv = {0};
unsigned long lineno = 0;
config = tester_init( "slapd-addel", TESTER_ADDEL );
--
2.33.0
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/liyunfei33/openldap-pr-test_1.git
git@gitee.com:liyunfei33/openldap-pr-test_1.git
liyunfei33
openldap-pr-test_1
openldap-pr-test_1
master

搜索帮助