* Set the address, if none given, give the node here. */
| 3873 | * Set the address, if none given, give the node here. |
| 3874 | */ |
| 3875 | void |
| 3876 | ng_replace_retaddr(node_p here, item_p item, ng_ID_t retaddr) |
| 3877 | { |
| 3878 | if (retaddr) { |
| 3879 | NGI_RETADDR(item) = retaddr; |
| 3880 | } else { |
| 3881 | /* |
| 3882 | * The old return address should be ok. |
| 3883 | * If there isn't one, use the address here. |
| 3884 | */ |
| 3885 | NGI_RETADDR(item) = ng_node2ID(here); |
| 3886 | } |
| 3887 | } |
nothing calls this directly
no test coverage detected