On Fri, Sep 21, 2012 at 05:29:12PM +0200, Florian Fainelli wrote:
> From: Felix Fietkau <[email protected]>
> 
> Fixes displaying the nameserver in busybox nslookup.

Applied, thanks!
> 
> Signed-off-by: Felix Fietkau <[email protected]>
> ---
>  libc/inet/resolv.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c
> index fff2794..649128a 100644
> --- a/libc/inet/resolv.c
> +++ b/libc/inet/resolv.c
> @@ -3645,11 +3645,11 @@ res_init(void)
>        */
>       if (!_res.id)
>               _res.id = res_randomid();
> -     __res_sync = res_sync_func;
>  
>       __UCLIBC_MUTEX_UNLOCK(__resolv_lock);
>  
>       __res_vinit(&_res, 1);
> +     __res_sync = res_sync_func;
>  
>       return 0;
>  }
_______________________________________________
uClibc mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to