Browse code

call cli_dconf_print() from cl_build()

git-svn: trunk@2919

Tomasz Kojm authored on 2007/03/08 22:17:20
Showing 2 changed files
... ...
@@ -1,3 +1,7 @@
1
+Thu Mar  8 12:22:36 CET 2007 (tk)
2
+---------------------------------
3
+  * libclamav/readdb.c: call cli_dconf_print() from cl_build()
4
+
1 5
 Wed Mar  7 21:35:21 GMT 2007 (njh)
2 6
 ----------------------------------
3 7
   * libclamav/mbox.c:	mail-follow-urls: handle HTTP headers and body being
... ...
@@ -1268,7 +1268,6 @@ static int cli_loaddbdir_l(const char *dirname, struct cl_engine **engine, unsig
1268 1268
 	    free(dbfile);
1269 1269
 	    return ret;
1270 1270
 	}
1271
-	cli_dconf_print((*engine)->dconf);
1272 1271
     }
1273 1272
     free(dbfile);
1274 1273
 
... ...
@@ -1777,6 +1776,8 @@ int cl_build(struct cl_engine *engine)
1777 1777
 	    cli_ac_buildtrie(root);
1778 1778
     /* FIXME: check return values of cli_ac_buildtree */
1779 1779
 
1780
+    cli_dconf_print(engine->dconf);
1781
+
1780 1782
     return CL_SUCCESS;
1781 1783
 }
1782 1784