Mercurial > dovecot > core-2.2
comparison src/director/director-connection.c @ 14629:c93ca5e46a8a
Marked functions parameters that are allowed to be NULL. Some APIs were also changed.
The non-obvious APIs where NULL parameter was changed to "" are
master_service_init() and auth_master_user_list_init().
These checks can currently be enabled only on a patched clang:
http://llvm.org/bugs/show_bug.cgi?id=6786
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 24 Jun 2012 00:52:57 +0300 |
parents | dbe6d05fd595 |
children | efd276ab2577 |
comparison
equal
deleted
inserted
replaced
14628:e0cc3fb5dc64 | 14629:c93ca5e46a8a |
---|---|
744 } | 744 } |
745 } | 745 } |
746 return TRUE; | 746 return TRUE; |
747 } | 747 } |
748 | 748 |
749 static bool | 749 static bool ATTR_NULL(3) |
750 director_cmd_host_int(struct director_connection *conn, const char *const *args, | 750 director_cmd_host_int(struct director_connection *conn, const char *const *args, |
751 struct director_host *dir_host) | 751 struct director_host *dir_host) |
752 { | 752 { |
753 struct mail_host *host; | 753 struct mail_host *host; |
754 struct ip_addr ip; | 754 struct ip_addr ip; |