diff options
author | Gilles Chehade <gilles@poolp.org> | 2012-11-15 20:30:22 +0100 |
---|---|---|
committer | Gilles Chehade <gilles@poolp.org> | 2012-11-15 20:30:22 +0100 |
commit | 9b31b68eac9b573428f11bd93fc3604e5ee97907 (patch) | |
tree | 57943bdcf4d0b3fdb8842d5d6c4aa6c6d87bb5b4 /smtpd/table_db.c | |
parent | remove deprecated API (diff) | |
parent | finish KNF (diff) | |
download | OpenSMTPD-9b31b68eac9b573428f11bd93fc3604e5ee97907.tar.xz OpenSMTPD-9b31b68eac9b573428f11bd93fc3604e5ee97907.zip |
Merge branch 'cleanup'
Conflicts:
smtpd/lka.c
smtpd/smtpd.h
smtpd/table_db.c
smtpd/table_static.c
Diffstat (limited to 'smtpd/table_db.c')
-rw-r--r-- | smtpd/table_db.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/smtpd/table_db.c b/smtpd/table_db.c index 44822401..e53298f1 100644 --- a/smtpd/table_db.c +++ b/smtpd/table_db.c @@ -42,7 +42,7 @@ static int table_db_update(struct table *, const char *); static void *table_db_open(struct table *); static int table_db_lookup(void *, const char *, enum table_service, void **); static int table_db_compare(void *, const char *, enum table_service, - int (*)(const char *, const char *)); + int(*)(const char *, const char *)); static void table_db_close(void *); static char *table_db_get_entry(void *, const char *, size_t *); @@ -128,7 +128,7 @@ table_db_lookup(void *hdl, const char *key, enum table_service kind, void **retp static int table_db_compare(void *hdl, const char *key, enum table_service kind, - int (*func)(const char *, const char *)) + int(*func)(const char *, const char *)) { int ret = 0; DB *db = hdl; @@ -217,8 +217,8 @@ err: static int table_db_alias(const char *key, char *line, size_t len, void **retp) { - char *subrcpt; - char *endp; + char *subrcpt; + char *endp; struct table_alias *table_alias = NULL; struct expandnode xn; @@ -255,8 +255,8 @@ error: static int table_db_virtual(const char *key, char *line, size_t len, void **retp) { - char *subrcpt; - char *endp; + char *subrcpt; + char *endp; struct table_virtual *table_virtual = NULL; struct expandnode xn; |