fixing #70166 Daniel

* valid.c: fixing #70166
Daniel
2 files changed