X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Ftrav.c;h=55e38c5ce41f1cb5bc43c1ed073473f1910d642f;hb=c0883a6fae21edf72536dd4514bc409dfba3383a;hp=b9268412a526e99c871dd80b85a95775ee4dc8b9;hpb=95ff8b9c4821c47dad5d3f2e38ae0d3f6e461f74;p=idzebra-moved-to-github.git diff --git a/index/trav.c b/index/trav.c index b926841..55e38c5 100644 --- a/index/trav.c +++ b/index/trav.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: trav.c,v $ - * Revision 1.21 1996-03-22 15:34:18 quinn + * Revision 1.22 1996-04-09 06:50:50 adam + * Bug fix: bad reference in function fileUpdateR. + * + * Revision 1.21 1996/03/22 15:34:18 quinn * Fixed bad reference * * Revision 1.20 1996/03/21 14:50:10 adam @@ -200,7 +203,7 @@ static void fileUpdateR (struct dirs_info *di, struct dirs_entry *dst, src[++src_len] = '\0'; } dirs_mkdir (di, src, 0); - if (repComp (dst->path, src, src_len)) + if (dst && repComp (dst->path, src, src_len)) dst = NULL; } else if (!e_src)