Skip to content

Commit bf55247

Browse files
Xeickerevgenyz
authored andcommitted
Apply suggestions from code review
Co-authored-by: Evgeny Kolesnikov <evgenyz@gmail.com>
1 parent b9140df commit bf55247

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/OVAL/probes/independent/textfilecontent54_probe.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ static int process_file(const char *prefix, const char *path, const char *file,
247247
SEXP_free(instance_value);
248248

249249
for(cur_inst = 0; cur_inst < instance_count; cur_inst++){
250-
if(negative_instance_value)
250+
if (negative_instance_value)
251251
next_inst = SEXP_number_newi_32(cur_inst - instance_count);
252252

253253
else
@@ -260,7 +260,7 @@ static int process_file(const char *prefix, const char *path, const char *file,
260260

261261
SEXP_free(next_inst);
262262

263-
if (want_instance){
263+
if (want_instance) {
264264
int pic_ret = probe_item_collect(pfd->ctx, SEXP_list_nth(items, cur_inst + 1));
265265
if (pic_ret == 2 || pic_ret == -1) {
266266
ret = -4;

0 commit comments

Comments
 (0)