equal
deleted
inserted
replaced
10 // not already bound |
10 // not already bound |
11 assert(!transport->type); |
11 assert(!transport->type); |
12 |
12 |
13 // store |
13 // store |
14 transport->type = type; |
14 transport->type = type; |
15 transport->info = *info; |
15 |
|
16 if (info) |
|
17 transport->info = *info; |
16 } |
18 } |
17 |
19 |
18 void* transport_check (transport_t *transport, const struct transport_type *type) |
20 void* transport_check (transport_t *transport, const struct transport_type *type) |
19 { |
21 { |
20 // sanity check |
22 // sanity check |