Typo.
[apps/pfixtools.git] / postlicyd / tst-filters.c
index 52f22a4..9b83fad 100644 (file)
@@ -62,6 +62,8 @@ static char *read_query(const char *basepath, const char *filename,
         if (end != NULL) {
             *end = buff + (map.end - map.map);
             **end = '\0';
+        } else {
+            buff[map.end - map.map] = '\0';
         }
         file_map_close(&map);
     }