diff --git a/examples/sky-shell/sky-shell.c b/examples/sky-shell/sky-shell.c index 5876ff9ed..98108bde7 100644 --- a/examples/sky-shell/sky-shell.c +++ b/examples/sky-shell/sky-shell.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: sky-shell.c,v 1.21 2010/09/13 14:33:20 adamdunkels Exp $ + * $Id: sky-shell.c,v 1.22 2010/09/13 14:34:51 adamdunkels Exp $ */ /** @@ -221,7 +221,7 @@ PROCESS_THREAD(shell_sky_alldata_process, ev, data) rimeaddr_copy(&msg.best_neighbor, &rimeaddr_null); msg.best_neighbor_etx = msg.best_neighbor_rtmetric = 0; - n = collect_neighbor_list_best(shell_collect_conn.neighbor_list); + n = collect_neighbor_list_best(&shell_collect_conn.neighbor_list); if(n != NULL) { rimeaddr_copy(&msg.best_neighbor, &n->addr); msg.best_neighbor_etx = collect_neighbor_rtmetric(n) - n->rtmetric;