mirror of
git://git.gnupg.org/gnupg.git
synced 2025-04-17 15:44:34 +02:00
* gpgkeys_finger.c, gpgkeys_hkp.c, gpgkeys_http.c, gpgkeys_ldap.c: Fix a
few occurances of "filename" to `filename'.
This commit is contained in:
parent
b15e268c8a
commit
e3fd0f0c60
@ -1,3 +1,8 @@
|
|||||||
|
2004-10-11 David Shaw <dshaw@jabberwocky.com>
|
||||||
|
|
||||||
|
* gpgkeys_finger.c, gpgkeys_hkp.c, gpgkeys_http.c, gpgkeys_ldap.c:
|
||||||
|
Fix a few occurances of "filename" to `filename'.
|
||||||
|
|
||||||
2004-10-11 Werner Koch <wk@g10code.com>
|
2004-10-11 Werner Koch <wk@g10code.com>
|
||||||
|
|
||||||
* gpgkeys_finger.c: New.
|
* gpgkeys_finger.c: New.
|
||||||
|
@ -385,7 +385,7 @@ main(int argc,char *argv[])
|
|||||||
output=fopen(optarg,"w");
|
output=fopen(optarg,"w");
|
||||||
if(output==NULL)
|
if(output==NULL)
|
||||||
{
|
{
|
||||||
fprintf(console,"gpgkeys: Cannot open output file \"%s\": %s\n",
|
fprintf(console,"gpgkeys: Cannot open output file `%s': %s\n",
|
||||||
optarg,strerror(errno));
|
optarg,strerror(errno));
|
||||||
return KEYSERVER_INTERNAL_ERROR;
|
return KEYSERVER_INTERNAL_ERROR;
|
||||||
}
|
}
|
||||||
@ -398,7 +398,7 @@ main(int argc,char *argv[])
|
|||||||
input=fopen(argv[optind],"r");
|
input=fopen(argv[optind],"r");
|
||||||
if(input==NULL)
|
if(input==NULL)
|
||||||
{
|
{
|
||||||
fprintf(console,"gpgkeys: Cannot open input file \"%s\": %s\n",
|
fprintf(console,"gpgkeys: Cannot open input file `%s': %s\n",
|
||||||
argv[optind],strerror(errno));
|
argv[optind],strerror(errno));
|
||||||
return KEYSERVER_INTERNAL_ERROR;
|
return KEYSERVER_INTERNAL_ERROR;
|
||||||
}
|
}
|
||||||
|
@ -156,7 +156,7 @@ send_key(int *eof)
|
|||||||
host,port[0]?":":"",port[0]?port:"");
|
host,port[0]?":":"",port[0]?port:"");
|
||||||
|
|
||||||
if(verbose>2)
|
if(verbose>2)
|
||||||
fprintf(console,"gpgkeys: HTTP URL is \"%s\"\n",request);
|
fprintf(console,"gpgkeys: HTTP URL is `%s'\n",request);
|
||||||
|
|
||||||
rc=http_open(&hd,HTTP_REQ_POST,request,http_flags,proxy[0]?proxy:NULL);
|
rc=http_open(&hd,HTTP_REQ_POST,request,http_flags,proxy[0]?proxy:NULL);
|
||||||
if(rc)
|
if(rc)
|
||||||
@ -260,7 +260,7 @@ get_key(char *getkey)
|
|||||||
host,port[0]?":":"",port[0]?port:"", search);
|
host,port[0]?":":"",port[0]?port:"", search);
|
||||||
|
|
||||||
if(verbose>2)
|
if(verbose>2)
|
||||||
fprintf(console,"gpgkeys: HTTP URL is \"%s\"\n",request);
|
fprintf(console,"gpgkeys: HTTP URL is `%s'\n",request);
|
||||||
|
|
||||||
rc=http_open_document(&hd,request,http_flags,proxy[0]?proxy:NULL);
|
rc=http_open_document(&hd,request,http_flags,proxy[0]?proxy:NULL);
|
||||||
if(rc!=0)
|
if(rc!=0)
|
||||||
@ -433,11 +433,11 @@ parse_hkp_index(IOBUF buffer,char *line)
|
|||||||
{
|
{
|
||||||
int ret=0;
|
int ret=0;
|
||||||
|
|
||||||
/* printf("Open %d, LINE: \"%s\"\n",open,line); */
|
/* printf("Open %d, LINE: `%s'\n",open,line); */
|
||||||
|
|
||||||
dehtmlize(line);
|
dehtmlize(line);
|
||||||
|
|
||||||
/* printf("Now open %d, LINE: \"%s\"\n",open,line); */
|
/* printf("Now open %d, LINE: `%s'\n",open,line); */
|
||||||
|
|
||||||
if(line[0]=='\0')
|
if(line[0]=='\0')
|
||||||
return 0;
|
return 0;
|
||||||
@ -682,7 +682,7 @@ search_key(char *searchkey)
|
|||||||
host,port[0]?":":"",port[0]?port:"",search);
|
host,port[0]?":":"",port[0]?port:"",search);
|
||||||
|
|
||||||
if(verbose>2)
|
if(verbose>2)
|
||||||
fprintf(console,"gpgkeys: HTTP URL is \"%s\"\n",request);
|
fprintf(console,"gpgkeys: HTTP URL is `%s'\n",request);
|
||||||
|
|
||||||
rc=http_open_document(&hd,request,http_flags,proxy[0]?proxy:NULL);
|
rc=http_open_document(&hd,request,http_flags,proxy[0]?proxy:NULL);
|
||||||
if(rc)
|
if(rc)
|
||||||
@ -782,7 +782,7 @@ main(int argc,char *argv[])
|
|||||||
output=fopen(optarg,"w");
|
output=fopen(optarg,"w");
|
||||||
if(output==NULL)
|
if(output==NULL)
|
||||||
{
|
{
|
||||||
fprintf(console,"gpgkeys: Cannot open output file \"%s\": %s\n",
|
fprintf(console,"gpgkeys: Cannot open output file `%s': %s\n",
|
||||||
optarg,strerror(errno));
|
optarg,strerror(errno));
|
||||||
return KEYSERVER_INTERNAL_ERROR;
|
return KEYSERVER_INTERNAL_ERROR;
|
||||||
}
|
}
|
||||||
@ -795,7 +795,7 @@ main(int argc,char *argv[])
|
|||||||
input=fopen(argv[optind],"r");
|
input=fopen(argv[optind],"r");
|
||||||
if(input==NULL)
|
if(input==NULL)
|
||||||
{
|
{
|
||||||
fprintf(console,"gpgkeys: Cannot open input file \"%s\": %s\n",
|
fprintf(console,"gpgkeys: Cannot open input file `%s': %s\n",
|
||||||
argv[optind],strerror(errno));
|
argv[optind],strerror(errno));
|
||||||
return KEYSERVER_INTERNAL_ERROR;
|
return KEYSERVER_INTERNAL_ERROR;
|
||||||
}
|
}
|
||||||
|
@ -149,7 +149,7 @@ main(int argc,char *argv[])
|
|||||||
output=fopen(optarg,"w");
|
output=fopen(optarg,"w");
|
||||||
if(output==NULL)
|
if(output==NULL)
|
||||||
{
|
{
|
||||||
fprintf(console,"gpgkeys: Cannot open output file \"%s\": %s\n",
|
fprintf(console,"gpgkeys: Cannot open output file `%s': %s\n",
|
||||||
optarg,strerror(errno));
|
optarg,strerror(errno));
|
||||||
return KEYSERVER_INTERNAL_ERROR;
|
return KEYSERVER_INTERNAL_ERROR;
|
||||||
}
|
}
|
||||||
@ -162,7 +162,7 @@ main(int argc,char *argv[])
|
|||||||
input=fopen(argv[optind],"r");
|
input=fopen(argv[optind],"r");
|
||||||
if(input==NULL)
|
if(input==NULL)
|
||||||
{
|
{
|
||||||
fprintf(console,"gpgkeys: Cannot open input file \"%s\": %s\n",
|
fprintf(console,"gpgkeys: Cannot open input file `%s': %s\n",
|
||||||
argv[optind],strerror(errno));
|
argv[optind],strerror(errno));
|
||||||
return KEYSERVER_INTERNAL_ERROR;
|
return KEYSERVER_INTERNAL_ERROR;
|
||||||
}
|
}
|
||||||
|
@ -1559,7 +1559,7 @@ main(int argc,char *argv[])
|
|||||||
output=fopen(optarg,"w");
|
output=fopen(optarg,"w");
|
||||||
if(output==NULL)
|
if(output==NULL)
|
||||||
{
|
{
|
||||||
fprintf(console,"gpgkeys: Cannot open output file \"%s\": %s\n",
|
fprintf(console,"gpgkeys: Cannot open output file `%s': %s\n",
|
||||||
optarg,strerror(errno));
|
optarg,strerror(errno));
|
||||||
return KEYSERVER_INTERNAL_ERROR;
|
return KEYSERVER_INTERNAL_ERROR;
|
||||||
}
|
}
|
||||||
@ -1572,7 +1572,7 @@ main(int argc,char *argv[])
|
|||||||
input=fopen(argv[optind],"r");
|
input=fopen(argv[optind],"r");
|
||||||
if(input==NULL)
|
if(input==NULL)
|
||||||
{
|
{
|
||||||
fprintf(console,"gpgkeys: Cannot open input file \"%s\": %s\n",
|
fprintf(console,"gpgkeys: Cannot open input file `%s': %s\n",
|
||||||
argv[optind],strerror(errno));
|
argv[optind],strerror(errno));
|
||||||
return KEYSERVER_INTERNAL_ERROR;
|
return KEYSERVER_INTERNAL_ERROR;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user