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

Fixed bug: shortTermCompletion is int32_t


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@154 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent 431041b8
......@@ -178,7 +178,7 @@ int nmxp_receiveChannelList(int isock, NMXP_CHAN_LIST **pchannelList);
* \retval SOCKET_ERROR on error
*
*/
int nmxp_sendAddTimeSeriesChannel(int isock, NMXP_CHAN_LIST *channelList, uint32_t shortTermCompletion, uint32_t out_format, NMXP_BUFFER_FLAG buffer_flag);
int nmxp_sendAddTimeSeriesChannel(int isock, NMXP_CHAN_LIST *channelList, int32_t shortTermCompletion, uint32_t out_format, NMXP_BUFFER_FLAG buffer_flag);
/*! \brief Receive Compressed or Decompressed Data message from a socket and launch func_processData() on the extracted data
......
......@@ -59,7 +59,7 @@ int nmxp_receiveChannelList(int isock, NMXP_CHAN_LIST **pchannelList) {
}
int nmxp_sendAddTimeSeriesChannel(int isock, NMXP_CHAN_LIST *channelList, uint32_t shortTermCompletion, uint32_t out_format, NMXP_BUFFER_FLAG buffer_flag) {
int nmxp_sendAddTimeSeriesChannel(int isock, NMXP_CHAN_LIST *channelList, int32_t shortTermCompletion, uint32_t out_format, NMXP_BUFFER_FLAG buffer_flag) {
int ret;
uint32_t buffer_length = 16 + (4 * channelList->number);
char *buffer = malloc(buffer_length);
......
......@@ -104,8 +104,7 @@ DAP Arguments:\n\
-u, --username=USER DataServer username.\n\
-p, --password=PASS DataServer password.\n\
\n\
",
DEFAULT_DELAY);
");
printf("\
PDS arguments:\n\
......@@ -255,6 +254,7 @@ int nmxptool_getopt_long(int argc, char **argv, NMXPTOOL_PARAMS *params)
case 'S':
params->stc = atoi(optarg);
nmxp_log(0, 0, "Short-Term-Completion %d\n", params->stc);
break;
case 'R':
......
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