Changeset 34117


Ignore:
Timestamp:
2012-11-08T11:49:16+01:00 (5 years ago)
Author:
jow
Message:

AA: resolveip: backport r34116

Location:
branches/attitude_adjustment/package/resolveip
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/attitude_adjustment/package/resolveip/Makefile

    r27666 r34117  
    11# 
    2 # Copyright (C) 2011 OpenWrt.org 
     2# Copyright (C) 2011-2012 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    99 
    1010PKG_NAME:=resolveip 
    11 PKG_RELEASE:=1 
     11PKG_RELEASE:=2 
    1212 
    1313include $(INCLUDE_DIR)/package.mk 
  • branches/attitude_adjustment/package/resolveip/src/resolveip.c

    r27671 r34117  
    3636{ 
    3737        int timeout = 3; 
    38         char opt; 
     38        int opt; 
    3939        char ipaddr[INET6_ADDRSTRLEN]; 
    4040        void *addr; 
     
    5050        while ((opt = getopt(argc, argv, "46t:h")) > -1) 
    5151        { 
    52                 switch (opt) 
     52                switch ((char)opt) 
    5353                { 
    5454                        case '4': 
Note: See TracChangeset for help on using the changeset viewer.