THE SOFTWARE.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "source.h"
#include "babel_interface.h"
#include "route.h"
+#include "babel_errors.h"
struct source *srcs = NULL;
src = malloc(sizeof(struct source));
if(src == NULL) {
- zlog_err("malloc(source): %s", safe_strerror(errno));
+ flog_err(EC_BABEL_MEMORY, "malloc(source): %s", safe_strerror(errno));
return NULL;
}