small fixes and add "gmake test"
[tedtools.git] / sfxtest.c
index f98140d..4f2a10d 100644 (file)
--- a/sfxtest.c
+++ b/sfxtest.c
@@ -198,6 +198,7 @@ main(int argn, char *argv[]) {
                        SFSInit_dp(&info,sizeof(enumerate),NULL);
                        while(*ptr) {
                                n.key = *ptr;
+                               n.keylen=0;
                                SFSAdd(&info, &n);
                                enumerate++;
                                ptr++;