X-Git-Url: https://git.hcoop.net/hcoop/debian/courier-authlib.git/blobdiff_plain/8d138742ae268344f406cb75d79aa6bf853f9d87:/rfc822/reftest.c..refs/tags/upstream/0.66.1:/libs/rfc822/reftest.c diff --git a/rfc822/reftest.c b/libs/rfc822/reftest.c similarity index 97% rename from rfc822/reftest.c rename to libs/rfc822/reftest.c index 82f4c9f..1d2ea9a 100644 --- a/rfc822/reftest.c +++ b/libs/rfc822/reftest.c @@ -4,7 +4,6 @@ */ /* -** $Id: reftest.c,v 1.7 2003/05/30 01:24:16 mrsam Exp $ */ #include "config.h" @@ -30,12 +29,11 @@ static void test1() { struct imap_refmsgtable *mt=rfc822_threadalloc(); char buf[20]; -struct imap_refmsg *p; strcpy(buf, "a@b"); - p=rfc822_threadallocmsg(mt, buf); + rfc822_threadallocmsg(mt, buf); strcpy(buf, "c@d"); - p=rfc822_threadallocmsg(mt, buf); + rfc822_threadallocmsg(mt, buf); printf("%s\n", (rfc822_threadsearchmsg(mt, "a@b") ? "found":"not found"));