Commit 60c64ed5 authored by Matteo Quintiliani's avatar Matteo Quintiliani

Moved nmxp_log_init for ew


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@482 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent 6ce6b8c0
......@@ -7,7 +7,7 @@
* Istituto Nazionale di Geofisica e Vulcanologia - Italy
* quintiliani@ingv.it
*
* $Id: nmxptool.c,v 1.89 2007-11-23 16:58:36 mtheo Exp $
* $Id: nmxptool.c,v 1.90 2007-11-24 20:24:49 mtheo Exp $
*
*/
......@@ -150,12 +150,14 @@ int main (int argc, char **argv) {
if(params.ew_configuration_file) {
#ifdef HAVE_EARTHWORMOBJS
nmxp_log_init(nmxptool_ew_logit_msg, nmxptool_ew_logit_err);
nmxptool_ew_configure(argv, &params);
/* Check consistency of params */
if(nmxptool_check_params(&params) != 0) {
return 1;
}
nmxp_log_init(nmxptool_ew_logit_msg, nmxptool_ew_logit_err);
#endif
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment