ref: c4b5d62a2abc05d8cd7a9532179e538ecd1714af
parent: 6eb1186655c08a137eb9a57fda37f93590e73322
author: Ali Gholami Rudi <ali@rudi.ir>
date: Mon Jan 19 14:39:14 EST 2015
in: paths are PATHLEN bytes
--- a/in.c
+++ b/in.c
@@ -70,7 +70,7 @@
void in_queue(char *path)
{
if (nfiles < NFILES)
- snprintf(files[nfiles++], PATHLEN - 1, "%s", path ? path : "");
+ snprintf(files[nfiles++], PATHLEN, "%s", path ? path : "");
}
static void in_pop(void)