CLEANUP: config: Return ERR_NONE from config callbacks instead of 0
Return ERR_NONE instead of 0 on success for all config callbacks that should
return ERR_* codes. There is no change because ERR_NONE is a macro equals to
0. But this makes the return value more explicit.
diff --git a/src/sink.c b/src/sink.c
index b87ea28..09a3026 100644
--- a/src/sink.c
+++ b/src/sink.c
@@ -972,7 +972,7 @@
*/
int post_sink_resolve()
{
- int err_code = 0;
+ int err_code = ERR_NONE;
struct logsrv *logsrv, *logb;
struct sink *sink;
struct proxy *px;