mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-13 22:21:09 +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:
parent
47b4b7f5c3
commit
6920513cb4
@ -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>
|
2002-11-04 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
* keyserver.c (keyserver_search_prompt): When --with-colons is
|
* keyserver.c (keyserver_search_prompt): When --with-colons is
|
||||||
|
@ -624,17 +624,19 @@ keyserver_search_prompt(IOBUF buffer,const char *searchstr)
|
|||||||
{
|
{
|
||||||
desc[i]=keyrec->desc;
|
desc[i]=keyrec->desc;
|
||||||
|
|
||||||
if(numlines+keyrec->lines>maxlines)
|
if(!opt.with_colons)
|
||||||
{
|
{
|
||||||
if(show_prompt(desc,i,validcount?count:0,searchstr))
|
if(numlines+keyrec->lines>maxlines)
|
||||||
break;
|
{
|
||||||
else
|
if(show_prompt(desc,i,validcount?count:0,searchstr))
|
||||||
numlines=0;
|
break;
|
||||||
|
else
|
||||||
|
numlines=0;
|
||||||
|
}
|
||||||
|
|
||||||
|
print_keyrec(i+1,keyrec);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if(!opt.with_colons)
|
|
||||||
print_keyrec(i+1,keyrec);
|
|
||||||
numlines+=keyrec->lines;
|
numlines+=keyrec->lines;
|
||||||
iobuf_close(keyrec->uidbuf);
|
iobuf_close(keyrec->uidbuf);
|
||||||
m_free(keyrec);
|
m_free(keyrec);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user