aboutsummaryrefslogtreecommitdiff
path: root/vcal.c
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@hornquist.se>2019-02-10 18:55:06 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2019-02-15 20:03:40 +0100
commit78409a2251e345249316f3fcccb31d7b8ba97ccb (patch)
tree5ccac8f847b4f259456cb1055cae5afe61c454b7 /vcal.c
parentMove trie->dot from trie to graphs. Add value printing. (diff)
downloadcalp-78409a2251e345249316f3fcccb31d7b8ba97ccb.tar.gz
calp-78409a2251e345249316f3fcccb31d7b8ba97ccb.tar.xz
Merge strbuf copy functions.
Diffstat (limited to 'vcal.c')
-rw-r--r--vcal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcal.c b/vcal.c
index a61d3d9f..e1df1f30 100644
--- a/vcal.c
+++ b/vcal.c
@@ -178,7 +178,7 @@ FMT_F(key_val) {
}
int DEEP_COPY(key_val) (key_val* dest, key_val* src) {
- strbuf_copy(&dest->key, &src->key);
- strbuf_copy(&dest->val, &src->val);
+ DEEP_COPY(strbuf)(&dest->key, &src->key);
+ DEEP_COPY(strbuf)(&dest->val, &src->val);
return 0;
}