]> git.neil.brown.name Git - metad.git/commit
Split init_state out of copy_state
authorNeil Brown <neilb@notabene.(none)>
Wed, 7 Jun 2006 11:14:26 +0000 (21:14 +1000)
committerNeil Brown <neilb@notabene.(none)>
Wed, 7 Jun 2006 11:14:26 +0000 (21:14 +1000)
commit55f98c450fdf01be6e09a2c87c3d4b1f41dc01c4
tree7dcd2b96ee6758e0c5a56f03f7d3e4dd21032a7c
parent7c8c9508d982ebfc69b28f0a540a0cc6239562f1
Split init_state out of copy_state

copy_state was used to initial class-specific data (from==NULL)
and to copy state data from a previous instance.
These are quite different, and the later was implemented badly.

So split this into two separate methods and get it right.
daemon.c
metad.h
service.c
stream.c