X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=command.c;h=fc098b7803f58259452906b1dfc52fd1b6b56144;hp=3d40023f119efc91f446011ae89381790567547f;hb=d87806284b9f6be9aab71ccbf0280d273b57eeb3;hpb=74145aabe851ba5b7eff47b650f401f49b5c740d diff --git a/command.c b/command.c index 3d40023f..fc098b78 100644 --- a/command.c +++ b/command.c @@ -6,10 +6,15 @@ /** \file command.c Client authentication and server commands. */ +#include +#include #include #include #include #include +#include +#include +#include #include "para.h" #include "error.h" @@ -554,6 +559,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); }