]> git.openfabrics.org - ~shefty/librdmacm.git/commit
rdma/cma: minor code refactoring when saving a string content
authorDotan Barak <dotanb@dev.mellanox.co.il>
Mon, 31 Oct 2011 15:53:07 +0000 (08:53 -0700)
committerSean Hefty <sean.hefty@intel.com>
Mon, 31 Oct 2011 15:54:50 +0000 (08:54 -0700)
commit404c828cadf8a5370c80d0edffc4f23c97e229f2
tree44e97c9635d8f6b994da15bd1971e444dc5e92a9
parent934d3e3c98d07c3d872f7eeb1d935c9708474838
rdma/cma: minor code refactoring when saving a string content

In this case, using strdup will provide a cleaner code
(and maybe a little bit faster too).

Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
src/addrinfo.c