Loading src/nmxptool.c +25 −24 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ * Istituto Nazionale di Geofisica e Vulcanologia - Italy * quintiliani@ingv.it * * $Id: nmxptool.c,v 1.95 2007-12-16 17:12:35 mtheo Exp $ * $Id: nmxptool.c,v 1.96 2007-12-16 18:25:17 mtheo Exp $ * */ Loading Loading @@ -767,14 +767,13 @@ int main (int argc, char **argv) { } /* End MAIN */ static void saving_channel_states() { int to_cur_chan; char last_time_str[30]; char raw_last_sample_time_str[30]; char state_line_str[1000]; if(params.statefile) { FILE *fstatefile = fopen(params.statefile, "w"); if(fstatefile == NULL) { nmxp_log(NMXP_LOG_NORM_NO, NMXP_LOG_D_ANY, "Unable to write channel states into %s!\n", params.statefile); Loading @@ -801,6 +800,8 @@ static void saving_channel_states() { fclose(fstatefile); } } } static void flushing_raw_data_stream() { int to_cur_chan; Loading Loading
src/nmxptool.c +25 −24 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ * Istituto Nazionale di Geofisica e Vulcanologia - Italy * quintiliani@ingv.it * * $Id: nmxptool.c,v 1.95 2007-12-16 17:12:35 mtheo Exp $ * $Id: nmxptool.c,v 1.96 2007-12-16 18:25:17 mtheo Exp $ * */ Loading Loading @@ -767,14 +767,13 @@ int main (int argc, char **argv) { } /* End MAIN */ static void saving_channel_states() { int to_cur_chan; char last_time_str[30]; char raw_last_sample_time_str[30]; char state_line_str[1000]; if(params.statefile) { FILE *fstatefile = fopen(params.statefile, "w"); if(fstatefile == NULL) { nmxp_log(NMXP_LOG_NORM_NO, NMXP_LOG_D_ANY, "Unable to write channel states into %s!\n", params.statefile); Loading @@ -801,6 +800,8 @@ static void saving_channel_states() { fclose(fstatefile); } } } static void flushing_raw_data_stream() { int to_cur_chan; Loading