Adding lib/wire.c

bill davidsen davidsen at tmr.com
Wed Aug 14 19:23:25 UTC 2002


In article <727kiv9ktw.fsf at nd1.eng.demon.net>,
Alex Kiernan  <alexk at demon.net> wrote:
| 
| With all the hacking on nnrpd I've been doing, I've become more & more
| aware of the amount of duplication we have in the manipulation of
| articles.
| 
| I've started pulling some of the wire format article manipulation into
| lib/wire.c (but right now all there is a wire_findbody[1])
| 
| Good idea/bad idea?

Anything done to identify and isolate common code is a GREAT idea!
Smaller code, easier to maintain, no chance of doing "similar but not
identical" things in two places.

Take that as a bravo, this is very long-term useful.
-- 
bill davidsen <davidsen at tmr.com>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.


More information about the inn-workers mailing list