Skip to content

Commit

Permalink
make indent depend
Browse files Browse the repository at this point in the history
  • Loading branch information
robertswiecki committed Apr 14, 2023
1 parent e0947b4 commit f7b69ee
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions cmdline.c
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@ bool cmdlineParse(int argc, char* argv[], honggfuzz_t* hfuzz) {
.runEndTime = 0,
.tmOut = 1,
.lastCovUpdate = time(NULL),
.exitOnTime = 0,
.timeOfLongestUnitUSecs = 0,
.tmoutVTALRM = false,
},
Expand Down
5 changes: 3 additions & 2 deletions honggfuzz.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,9 @@ static uint8_t mainThreadLoop(honggfuzz_t* hfuzz) {
break;
}
if (hfuzz->timing.exitOnTime > 0 &&
time(NULL) - ATOMIC_GET(hfuzz->timing.lastCovUpdate) > hfuzz->timing.exitOnTime) {
LOG_I("No new coverage was found for the last %ld seconds, terminating", hfuzz->timing.exitOnTime);
time(NULL) - ATOMIC_GET(hfuzz->timing.lastCovUpdate) > hfuzz->timing.exitOnTime) {
LOG_I("No new coverage was found for the last %ld seconds, terminating",
hfuzz->timing.exitOnTime);
break;
}
pingThreads(hfuzz);
Expand Down
2 changes: 1 addition & 1 deletion honggfuzz.h
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ typedef struct {
int perThreadCovFeedbackFd;
unsigned triesLeft;
dynfile_t* current;
hwcnt_t hwCnts;
hwcnt_t hwCnts;

struct {
/* For Linux code */
Expand Down

0 comments on commit f7b69ee

Please sign in to comment.