Skip to content

Commit 3d68ebb

Browse files
committed
Fix off-by-one in condition reassert()
Signed-off-by: Joachim Nilsson <[email protected]>
1 parent 6e01702 commit 3d68ebb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cond-w.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ static int reassert(const char *fpath, const struct stat *sb, int tflg, struct F
212212
return 1;
213213
}
214214

215-
nm += sizeof(COND_DIR) + 1;
215+
nm += sizeof(COND_DIR);
216216
_d("Reasserting %s => %s", fpath, nm);
217217
cond_set(nm);
218218

0 commit comments

Comments
 (0)