Applied in revision 09c40ac.
Thanks, Simon
On Wed, Oct 17, 2012 at 09:55:57PM +0200, Sven Eckelmann wrote:
Signed-off-by: Sven Eckelmann sven@narfation.org
main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/main.c b/main.c index 96e401a..ccb72cd 100644 --- a/main.c +++ b/main.c @@ -67,11 +67,11 @@ struct globals *alfred_init(int argc, char *argv[]) };
globals = malloc(sizeof(*globals));
- memset(globals, 0, sizeof(*globals));
- if (!globals) return NULL;
- memset(globals, 0, sizeof(*globals));
- globals->opmode = OPMODE_SLAVE; globals->clientmode = CLIENT_NONE; globals->interface = NULL;
-- 1.7.10.4