updated enqueue condition

This commit is contained in:
Anselm R. Garbe 2006-03-23 09:28:43 +01:00
parent eccba17195
commit 4accad27fc

View File

@ -1486,7 +1486,7 @@ write_event(char *event, Bool enqueue)
written++;
}
}
if(!written) {
if(enqueue && !written) {
queue = (char **)cext_array_attach((void **)queue, strdup(event), sizeof(char *), &queuesz);
nqueue++;
}