1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

fix type incompatibility

This commit is contained in:
Stefan Bellon 2004-08-27 18:21:32 +00:00
parent ea279f1bae
commit 9355045841
2 changed files with 13 additions and 8 deletions

View file

@ -243,7 +243,7 @@ get_key(char *getkey)
else
{
/* short key id */
sprintf(search,"0x%.8s",getkey);
}
@ -428,7 +428,7 @@ write_quoted(IOBUF a, const char *buf, char delim)
LDAP server are close enough in output so the same function can
parse them both. */
int
int
parse_hkp_index(IOBUF buffer,char *line)
{
int ret=0;
@ -549,7 +549,7 @@ parse_hkp_index(IOBUF buffer,char *line)
iobuf_writestr(buffer,"\nuid:");
write_quoted(buffer,uid,':');
}
iobuf_writestr(buffer,"\n");
ret=1;
@ -629,7 +629,7 @@ search_key(char *searchkey)
int max=0,len=0,ret=KEYSERVER_INTERNAL_ERROR,rc;
struct http_context hd;
char *search=NULL,*request=NULL;
unsigned char *skey=searchkey;
char *skey=searchkey;
fprintf(output,"SEARCH %s BEGIN\n",searchkey);
@ -666,7 +666,7 @@ search_key(char *searchkey)
{
fprintf(console,"gpgkeys: corrupt input?\n");
return -1;
}
}
search[len]='\0';