Revision 41012841 src/PeerSet/peerset_ops.c

View differences:

src/PeerSet/peerset_ops.c
88 88
  return p;
89 89
}
90 90

  
91
void peerset_destroy(struct peerset **h)
92
{
93
	peerset_clear(*h,0);
94
	free(*h);
95
	*h = NULL;
96
}
97

  
91 98
int peerset_push_peer(struct peerset *h,const  struct peer *e)
92 99
{
93 100
  int pos;

Also available in: Unified diff