mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-09 12:54:23 +01: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>
|
||||
|
||||
* keyserver.c (keyserver_search_prompt): When --with-colons is
|
||||
|
@ -624,6 +624,8 @@ keyserver_search_prompt(IOBUF buffer,const char *searchstr)
|
||||
{
|
||||
desc[i]=keyrec->desc;
|
||||
|
||||
if(!opt.with_colons)
|
||||
{
|
||||
if(numlines+keyrec->lines>maxlines)
|
||||
{
|
||||
if(show_prompt(desc,i,validcount?count:0,searchstr))
|
||||
@ -632,9 +634,9 @@ keyserver_search_prompt(IOBUF buffer,const char *searchstr)
|
||||
numlines=0;
|
||||
}
|
||||
|
||||
|
||||
if(!opt.with_colons)
|
||||
print_keyrec(i+1,keyrec);
|
||||
}
|
||||
|
||||
numlines+=keyrec->lines;
|
||||
iobuf_close(keyrec->uidbuf);
|
||||
m_free(keyrec);
|
||||
|
Loading…
x
Reference in New Issue
Block a user