Skip to content
Snippets Groups Projects
Commit b0bbc4d0 authored by rswindell's avatar rswindell
Browse files

Added node_t structure size verification..

parent 16502896
No related branches found
No related tags found
No related merge requests found
......@@ -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] [...]"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment