From a712b6363313e8e7f3468284e43ad94fa580a590 Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Wed, 6 Jul 2022 15:02:02 +0300 Subject: [PATCH] Fix argument check --- src/proto.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/proto.cc b/src/proto.cc index bef65bd..1807080 100644 --- a/src/proto.cc +++ b/src/proto.cc @@ -200,7 +200,7 @@ int _proto_list_str(int pid, char* proto_path) return -1; } - if (str == NULL) { + if (proto_path == NULL) { return -1; }