diff options
Diffstat (limited to 'usr.sbin/smtpd/compress_backend.c')
-rw-r--r-- | usr.sbin/smtpd/compress_backend.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/smtpd/compress_backend.c b/usr.sbin/smtpd/compress_backend.c index ba1774bd055..8f1c2e125c1 100644 --- a/usr.sbin/smtpd/compress_backend.c +++ b/usr.sbin/smtpd/compress_backend.c @@ -1,4 +1,4 @@ -/* $OpenBSD: compress_backend.c,v 1.2 2012/08/26 10:17:13 chl Exp $ */ +/* $OpenBSD: compress_backend.c,v 1.3 2012/08/26 13:38:43 gilles Exp $ */ /* * Copyright (c) 2012 Charles Longeau <chl@openbsd.org> @@ -31,13 +31,13 @@ #include "smtpd.h" -extern struct compress_backend compress_zlib; +extern struct compress_backend compress_gzip; struct compress_backend * compress_backend_lookup(const char *name) { - if (!strcmp(name, "zlib")) - return &compress_zlib; + if (!strcmp(name, "gzip")) + return &compress_gzip; /* if (!strcmp(name, "bzip")) */ /* return &compress_bzip; */ |