1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-05-29 21:58:04 +02:00

* keyserver.c (keyserver_search_prompt): When --with-colons is enabled,

don't try and fit the search output to the screen size - just dump the
whole list.
This commit is contained in:
David Shaw 2002-11-05 16:11:04 +00:00
parent 47b4b7f5c3
commit 6920513cb4
2 changed files with 16 additions and 8 deletions

View File

@ -1,3 +1,9 @@
2002-11-05 David Shaw <dshaw@jabberwocky.com>
* keyserver.c (keyserver_search_prompt): When --with-colons is
enabled, don't try and fit the search output to the screen size -
just dump the whole list.
2002-11-04 David Shaw <dshaw@jabberwocky.com>
* keyserver.c (keyserver_search_prompt): When --with-colons is

View File

@ -624,17 +624,19 @@ keyserver_search_prompt(IOBUF buffer,const char *searchstr)
{
desc[i]=keyrec->desc;
if(numlines+keyrec->lines>maxlines)
if(!opt.with_colons)
{
if(show_prompt(desc,i,validcount?count:0,searchstr))
break;
else
numlines=0;
if(numlines+keyrec->lines>maxlines)
{
if(show_prompt(desc,i,validcount?count:0,searchstr))
break;
else
numlines=0;
}
print_keyrec(i+1,keyrec);
}
if(!opt.with_colons)
print_keyrec(i+1,keyrec);
numlines+=keyrec->lines;
iobuf_close(keyrec->uidbuf);
m_free(keyrec);