Commit b0bbc4d0 authored by rswindell's avatar rswindell

Added node_t structure size verification..

parent 16502896
......@@ -354,7 +354,13 @@ int main(int argc, char **argv)
long value;
node_t node;
printf("\nSynchronet Node Display/Control Utility v1.03\n\n");
printf("\nSynchronet Node Display/Control Utility v1.10\n\n");
if(sizeof(node_t)!=SIZEOF_NODE_T) {
printf("COMPILER ERROR: sizeof(node_t)=%d instead of %d\n"
,sizeof(node_t),SIZEOF_NODE_T);
return(-1);
}
if(argc<2) {
printf("usage: node [/debug] [action [on|off]] [node numbers] [...]"
......
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