- char * command = s[CMD_MAKE_WORLD];
- char msg[strlen(command) + 1 + 11 + 1];
- sprintf(msg, "%s %d", command, (int) time(NULL));
+ char * command = s[S_CMD_MAKE_WORLD];
+ char * msg = try_malloc(strlen(command) + 1 + 11 + 1, f_name);
+ int test = sprintf(msg, "%s %d", command, (int) time(NULL));
+ exit_trouble(test < 0, f_name, s[S_FCN_SPRINTF]);