Fix argument check

This commit is contained in:
Alexander Batalov 2022-07-06 15:02:02 +03:00
parent a19dcfad93
commit a712b63633

View File

@ -200,7 +200,7 @@ int _proto_list_str(int pid, char* proto_path)
return -1;
}
if (str == NULL) {
if (proto_path == NULL) {
return -1;
}