Commit 30cda35f authored by Matteo Quintiliani's avatar Matteo Quintiliani

Added PRIVATE DATA STREAM subscription protocol


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@108 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent e9a47714
This diff is collapsed.
...@@ -338,13 +338,8 @@ int nmxptool_check_params(NMXPTOOL_PARAMS *params) { ...@@ -338,13 +338,8 @@ int nmxptool_check_params(NMXPTOOL_PARAMS *params) {
} else if(params->channels == NULL) { } else if(params->channels == NULL) {
ret = -1; ret = -1;
printf("<STA.CHAN> is required!\n"); printf("<STA.CHAN> is required!\n");
} else if(params->start_time == 0) { } else if(params->start_time != 0 && params->end_time != 0
ret = -1; && params->start_time >= params->end_time) {
printf("<start_time> is required!\n");
} else if(params->end_time == 0) {
ret = -1;
printf("<end_time> is required!\n");
} else if (params->start_time >= params->end_time) {
ret = -1; ret = -1;
printf("<start_time> is less than <end_time>!\n"); printf("<start_time> is less than <end_time>!\n");
} }
......
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