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