From 7b60afe0622f8b757421f72cfa591f8be7b7d107 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 11 Jun 1998 15:41:06 +0000 Subject: [PATCH] Minor changes. --- index/kinput.c | 7 +++++-- isam/issh.c | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/index/kinput.c b/index/kinput.c index 4ee3dec..55023e9 100644 --- a/index/kinput.c +++ b/index/kinput.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: kinput.c,v $ - * Revision 1.28 1998-03-05 08:45:12 adam + * Revision 1.29 1998-06-11 15:41:39 adam + * Minor changes. + * + * Revision 1.28 1998/03/05 08:45:12 adam * New result set model and modular ranking system. Moved towards * descent server API. System information stored as "SGML" records. * @@ -154,7 +157,7 @@ void getFnameTmp (char *fname, int no) void key_file_chunk_read (struct key_file *f) { - int nr = 0, r, fd; + int nr = 0, r = 0, fd; char fname[1024]; getFnameTmp (fname, f->no); fd = open (fname, O_BINARY|O_RDONLY); diff --git a/isam/issh.c b/isam/issh.c index b511e72..fc83458 100644 --- a/isam/issh.c +++ b/isam/issh.c @@ -143,8 +143,8 @@ int main() log_init(LOG_ALL, "issh", 0); - assert(common_resource = res_open("testres")); - + common_resource = res_open("testres"); + assert(common_resource); for (;;) { -- 1.7.10.4