Commit aea49a66 authored by Arnaud Blanchard's avatar Arnaud Blanchard
Browse files

Fix type of data from existing channel

parent 19e96d2c
......@@ -278,6 +278,10 @@ int main(int argc, char** argv){
if (keys_nb==-1) keys_nb=channel_info.total_length;
else if (keys_nb!=channel_info.total_length) EXIT_ON_CHANNEL_ERROR(&channel_info, "number of keys(%d) differ from channel length (%d)", keys_nb, channel.total_length);
}
else {
if (type_str) type=STRING_TO_UINT32(type_str);
else type='UIN8'; //default type
}
if (key_list==NULL) {
if (keys_nb==-1){
......@@ -297,10 +301,7 @@ int main(int argc, char** argv){
}
}
if (type_str) type=STRING_TO_UINT32(type_str);
else type='UIN8'; //default type
......
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