diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-12-20 19:54:13 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-12-20 19:54:13 +0100 |
commit | 28f80dbb7cc7daeb6d285dd26d3ef32a42af93ca (patch) | |
tree | ec537947800e5421f7baa97721a1524f59d68d61 /lib/tevent/tevent_util.c | |
parent | 1f4bd4b82cda56ef27d3942a790fcfb908494d46 (diff) | |
download | samba-28f80dbb7cc7daeb6d285dd26d3ef32a42af93ca.tar.gz samba-28f80dbb7cc7daeb6d285dd26d3ef32a42af93ca.tar.bz2 samba-28f80dbb7cc7daeb6d285dd26d3ef32a42af93ca.zip |
Stop using SWIG for ldb Python bindings.
Diffstat (limited to 'lib/tevent/tevent_util.c')
-rw-r--r-- | lib/tevent/tevent_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tevent/tevent_util.c b/lib/tevent/tevent_util.c index cfcca9185d..9f70cf2349 100644 --- a/lib/tevent/tevent_util.c +++ b/lib/tevent/tevent_util.c @@ -28,7 +28,7 @@ /** return the number of elements in a string list */ -static size_t str_list_length(const char **list) +size_t ev_str_list_length(const char **list) { size_t ret; for (ret=0;list && list[ret];ret++) /* noop */ ; @@ -40,7 +40,7 @@ static size_t str_list_length(const char **list) */ const char **ev_str_list_add(const char **list, const char *s) { - size_t len = str_list_length(list); + size_t len = ev_str_list_length(list); const char **ret; ret = talloc_realloc(NULL, list, const char *, len+2); |