diff options
author | David Shaw <[email protected]> | 2003-03-15 02:28:02 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2003-03-15 02:28:02 +0000 |
commit | 1995efc72876b93a502e650fcff684de96a9b77a (patch) | |
tree | fda018860127e5c6534d6dc01fb8fba14decd490 /util/srv.c | |
parent | * options.h, g10.c (main), keyserver.c (kopts): Add "try-dns-srv" (diff) | |
download | gnupg-1995efc72876b93a502e650fcff684de96a9b77a.tar.gz gnupg-1995efc72876b93a502e650fcff684de96a9b77a.zip |
* srv.h, srv.c (getsrv): Use unsigned char rather than char. Noted by
Stefan Bellon.
Diffstat (limited to '')
-rw-r--r-- | util/srv.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/util/srv.c b/util/srv.c index 8fc0ca0de..9e9c7b21f 100644 --- a/util/srv.c +++ b/util/srv.c @@ -32,6 +32,8 @@ #include "types.h" #include "srv.h" +/* Not every installation has gotten around to supporting SRVs + yet... */ #ifndef T_SRV #define T_SRV 33 #endif @@ -50,9 +52,9 @@ static int priosort(const void *a,const void *b) int getsrv(const char *name,struct srventry **list) { - char answer[PACKETSZ]; + unsigned char answer[PACKETSZ]; int r,srvcount=0; - char *pt,*emsg; + unsigned char *pt,*emsg; u16 count,dlen; *list=NULL; |