Merge duplicate code in consumer for add relayd
authorDavid Goulet <dgoulet@efficios.com>
Mon, 20 Aug 2012 20:52:07 +0000 (16:52 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Mon, 20 Aug 2012 20:52:07 +0000 (16:52 -0400)
commit7735ef9e674217413a63bd4a09a93ac0958fe58a
tree8a1cb060cd6b902b04f891aad274d167cda4b883
parentc30ce0b3d524a2c15bc688356d50d38fa9b43f85
Merge duplicate code in consumer for add relayd

The kernel and UST consumer were basically using the same exact code
when receiving a ADD_RELAYD command from the session daemon. We have
merge it in one simple function that both uses.

The daemon behavior is NOT altered with this patch.

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/consumer.c
src/common/consumer.h
src/common/kernel-consumer/kernel-consumer.c
src/common/ust-consumer/ust-consumer.c
This page took 0.026176 seconds and 4 git commands to generate.