Changeset f3386d7 in mainline for uspace/app/inet/inet.c


Ignore:
Timestamp:
2013-07-15T20:44:54Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f8d3df3
Parents:
273c976 (diff), a940f1d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/inet/inet.c

    r273c976 rf3386d7  
    4444#include <sys/types.h>
    4545
    46 #define NAME "inet"
     46#define NAME  "inet"
    4747
    4848static void print_syntax(void)
     
    257257        if (count > 0)
    258258                printf("    [Addr/Width] [Link-Name] [Addr-Name] [Def-MTU]\n");
    259         ainfo.name = linfo.name = astr = NULL;
     259        ainfo.name = NULL;
     260        linfo.name = NULL;
     261        astr = NULL;
    260262
    261263        for (i = 0; i < count; i++) {
     
    290292                free(astr);
    291293
    292                 ainfo.name = linfo.name = astr = NULL;
     294                ainfo.name = NULL;
     295                linfo.name = NULL;
     296                astr = NULL;
    293297        }
    294298
     
    329333                printf("    [Dest/Width] [Router-Addr] [Route-Name]\n");
    330334
    331         srinfo.name = dest_str = router_str = NULL;
     335        srinfo.name = NULL;
     336        dest_str = NULL;
     337        router_str = NULL;
    332338
    333339        for (i = 0; i < count; i++) {
     
    360366                free(router_str);
    361367
    362                 router_str = srinfo.name = dest_str = NULL;
     368                router_str = NULL;
     369                srinfo.name = NULL;
     370                dest_str = NULL;
    363371        }
    364372
Note: See TracChangeset for help on using the changeset viewer.