/*
* Copyright (C) 2013 - Julien Desfossez <jdesfossez@efficios.com>
* David Goulet <dgoulet@efficios.com>
+ * 2015 - Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License, version 2 only, as
* Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#define _GNU_SOURCE
+#define _LGPL_SOURCE
#include <assert.h>
#include <common/common.h>
DBG("Socket %d did an orderly shutdown", sock->fd);
} else {
ERR("Relay didn't receive valid add_stream struct size. "
- "Expected %lu, got %d", len, ret);
+ "Expected %zu, got %d", len, ret);
}
ret = -1;
goto error;