X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=command.c;h=84dd1bff8a7132d287638ae2571d1d8935743e77;hb=418050d3422358c01ea4a87a3a58d6e53fb69436;hp=3d40023f119efc91f446011ae89381790567547f;hpb=41bf9b01ed2193a5fe368e40b8b1f16b5c4b5495;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); }