diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-11-07 12:41:01 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-11-07 12:41:01 +0200 |
commit | 64b9848f878ccd75aae75bf4d8d3f8a364f28ddc (patch) | |
tree | bc56660823e5dd2658fe4ef7535086011dd717c4 /src/gmutil.c | |
parent | f309d604a720a9442c2249d3a738f746d1503b47 (diff) |
Treat Gopher as an unsupported protocol
Diffstat (limited to 'src/gmutil.c')
-rw-r--r-- | src/gmutil.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gmutil.c b/src/gmutil.c index 6166efd6..369aaaf1 100644 --- a/src/gmutil.c +++ b/src/gmutil.c | |||
@@ -236,6 +236,11 @@ static const struct { | |||
236 | { 0x1f47d, /* alien */ | 236 | { 0x1f47d, /* alien */ |
237 | "Unsupported Content Type", | 237 | "Unsupported Content Type", |
238 | "The received content cannot be viewed with this application." } }, | 238 | "The received content cannot be viewed with this application." } }, |
239 | { unsupportedProtocol_GmStatusCode, | ||
240 | { 0x1f61e, /* disappointed */ | ||
241 | "Unsupported Protocol", | ||
242 | "The requested protocol is not supported by this application." }, | ||
243 | }, | ||
239 | { invalidHeader_GmStatusCode, | 244 | { invalidHeader_GmStatusCode, |
240 | { 0x1f4a9, /* pile of poo */ | 245 | { 0x1f4a9, /* pile of poo */ |
241 | "Invalid Header", | 246 | "Invalid Header", |