Code

data: Let sdb_data_parse() accept a const string and copy it if necessary.
authorSebastian Harl <sh@tokkee.org>
Fri, 2 Jan 2015 14:47:24 +0000 (15:47 +0100)
committerSebastian Harl <sh@tokkee.org>
Fri, 2 Jan 2015 14:47:24 +0000 (15:47 +0100)
commit9f22d297f78323cb6ae9e8de66f9390333425df9
tree29438578782013c6e86662e6bf861e888eb27b38
parent5d27dd094076ccb02ee387b7f9eb8bc7c24254e5
data: Let sdb_data_parse() accept a const string and copy it if necessary.

Given that we need a copy for regex values anyway, this is more consistent.
src/core/data.c
src/include/core/data.h
src/utils/unixsock.c
t/unit/core/data_test.c