/[lwip]/contrib/ports/unix/proj/unixsim/apps/shell.c
ViewVC logotype

Diff of /contrib/ports/unix/proj/unixsim/apps/shell.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by christiaans, Mon Oct 10 07:25:38 2005 UTC revision 1.10 by christiaans, Tue Nov 8 12:00:46 2005 UTC
# Line 432  com_stat(struct command *com) Line 432  com_stat(struct command *com)
432    u16_t len;    u16_t len;
433        
434    for(i = 0; i < sizeof(struct stats_) / 2; i++) {    for(i = 0; i < sizeof(struct stats_) / 2; i++) {
435      len = snprintf(buf, sizeof(buffer), "%d", ((u16_t *)&lwip_stats)[i]);      len = snprintf(buf, sizeof(buf), "%d", ((u16_t *)&lwip_stats)[i]);
436      sendstr(stat_msgs[i], com->conn);      sendstr(stat_msgs[i], com->conn);
437      netconn_write(com->conn, buf, len, NETCONN_COPY);      netconn_write(com->conn, buf, len, NETCONN_COPY);
438      sendstr("\n", com->conn);      sendstr("\n", com->conn);

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26