diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-11-07 13:46:12 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-11-07 13:46:12 +0200 |
commit | ac4200fa46eebfc9227130739ae7f867e3fd0a20 (patch) | |
tree | dcfda4ae2e86aba36ea5b34296fb5972dd715ebd /src/xalloc.h | |
parent | 29aae24c51c9682a789c09e37e631b886affcbf7 (diff) | |
download | vmod-binlog-ac4200fa46eebfc9227130739ae7f867e3fd0a20.tar.gz vmod-binlog-ac4200fa46eebfc9227130739ae7f867e3fd0a20.tar.bz2 |
Fix interval initialization from the module_init function.
* doc/vmod-binlog.3: Update.
* src/binlogsel.c (interval) <name>: Remove const.
(interval_add): duplicate the name.
* src/xalloc.c (xstrdup): New function.
* src/xalloc.h: Likewise.
Diffstat (limited to 'src/xalloc.h')
-rw-r--r-- | src/xalloc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xalloc.h b/src/xalloc.h index da7922f..eb49573 100644 --- a/src/xalloc.h +++ b/src/xalloc.h @@ -1,3 +1,4 @@ void *xmalloc(size_t s); void *xmemdup(void const *p, size_t s); void *xcalloc(size_t count, size_t size); +char *xstrdup(const char *s); |