Found a MUCH better way to store the UIDL's of
authorArt Cancro <ajc@citadel.org>
Mon, 29 Oct 2007 16:02:58 +0000 (16:02 +0000)
committerArt Cancro <ajc@citadel.org>
Mon, 29 Oct 2007 16:02:58 +0000 (16:02 +0000)
commita76189488310348b5303679f984f085cc6a72bd0
tree8182e8aa992fe7119885995f0196928500df3299
parentbb1031f933fcc7d60358028f0f3e1bdf8ba7aa8f
Found a MUCH better way to store the UIDL's of
previously seen remote POP3 messages.  The first attempt
involved another directory full of crap, lots of reading,
writing, and parsing of yet another file format, and a bunch
of extra code involving linked lists and string comparisons
and after several days it still didn't work.  This new version
leverages the S_USETABLE database, uses about 50 lines of new
code, and I got it working in about 20 minutes.  Sometimes
you've just got to take a couple of steps back and rethink
things.
citadel/modules/pop3client/serv_pop3client.c
citadel/serv_network.h
citadel/server.h