Skip to content
Snippets Groups Projects
Commit 4a4fd2f3 authored by deuce's avatar deuce
Browse files

Chase userdat.h. Apparently a node doesn't know its own number.

parent 3f47f28e
No related branches found
No related tags found
No related merge requests found
...@@ -221,7 +221,7 @@ int refresh_data(gpointer data) ...@@ -221,7 +221,7 @@ int refresh_data(gpointer data)
if((j=getnodedat(&cfg,i,&node,FALSE,NULL))) if((j=getnodedat(&cfg,i,&node,FALSE,NULL)))
sprintf(str,"Error reading node data (%d)!",j); sprintf(str,"Error reading node data (%d)!",j);
else else
nodestatus(&cfg,&node,str,1023); nodestatus(&cfg,&node,str,1023, i);
gtk_list_store_set(store, &curr, 1, str, -1); gtk_list_store_set(store, &curr, 1, str, -1);
gtk_tree_model_iter_next(GTK_TREE_MODEL(store), &curr); gtk_tree_model_iter_next(GTK_TREE_MODEL(store), &curr);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment