X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=command.c;h=84dd1bff8a7132d287638ae2571d1d8935743e77;hb=0cd41722a596730f06f40e4f7e94a03ff53fb08e;hp=3d40023f119efc91f446011ae89381790567547f;hpb=5ae09eae1f157cbfcbe6f20c50d559cd6ad4c128;p=paraslash.git diff --git a/command.c b/command.c index 3d40023f..84dd1bff 100644 --- a/command.c +++ b/command.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1997-2013 Andre Noll + * Copyright (C) 1997-2014 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -554,6 +554,7 @@ static int send_list_of_commands(struct command_context *cc, struct server_comma msg = para_strcat(msg, tmp); free(tmp); } + assert(msg); return send_sb(&cc->scc, msg, strlen(msg), SBD_OUTPUT, false); }