diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-01-20 11:46:44 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-01-20 11:46:44 +0100 |
commit | be0a52f23cb22b15f93b1903a25a609e4c02745b (patch) | |
tree | 73a4e4c17bda3ba64d486b4b0bce3a59305f72ac /src/mhd/mhd_legal.c | |
parent | 92080dc8a481446737afe953cbd1c4f31c1bcb43 (diff) | |
download | exchange-be0a52f23cb22b15f93b1903a25a609e4c02745b.tar.xz |
fix crash
Diffstat (limited to 'src/mhd/mhd_legal.c')
-rw-r--r-- | src/mhd/mhd_legal.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mhd/mhd_legal.c b/src/mhd/mhd_legal.c index e0fb0b294..fac974127 100644 --- a/src/mhd/mhd_legal.c +++ b/src/mhd/mhd_legal.c @@ -484,6 +484,8 @@ load_language (struct TALER_MHD_Legal *legal, path, lang); d = opendir (dname); + if (NULL == d) + return; for (struct dirent *de = readdir (d); NULL != de; de = readdir (d)) |