From 3386c0344bb10138c972cf674a9f96ff2b333fa7 Mon Sep 17 00:00:00 2001 From: weiyixuan Date: Tue, 10 Apr 2018 15:14:22 +0800 Subject: [PATCH] Option -y can not work properly --- ui/asn.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/ui/asn.c b/ui/asn.c index a1efa98..1fe29ba 100644 --- a/ui/asn.c +++ b/ui/asn.c @@ -193,8 +193,6 @@ static char *split_txtrec( if (i > ctl->ipinfo_max) ctl->ipinfo_max = i; if (ctl->ipinfo_no >= i) { - if (ctl->ipinfo_no >= ctl->ipinfo_max) - ctl->ipinfo_no = 0; return (*items)[0]; } else return (*items)[ctl->ipinfo_no]; -- 2.47.2