8 Aug
2015
8 Aug
'15
6:56 p.m.
On 21 Jul 2015, at 16:23, pablo@gnumonks.org wrote:
Hi!
+static struct batch_list_node * +osmux_batch_add_circuit(struct osmux_batch *batch, int ccid) +{ + struct batch_list_node *circuit; + + circuit = osmux_batch_find_circuit(batch, ccid); + if (circuit != NULL) { + LOGP(DLMIB, LOGL_ERROR, "circuit %u already exists!\n", ccid); + return NULL; + }
Okay very defensive but no performance issue right now. Patches 1-3 look good! holger