Imported Upstream version 0.66.1
[hcoop/debian/courier-authlib.git] / libs / rfc822 / reftest.c
similarity index 97%
rename from rfc822/reftest.c
rename to libs/rfc822/reftest.c
index 82f4c9f..1d2ea9a 100644 (file)
@@ -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"));