X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=audiod.c;h=88599c3fa297337b6a3f598b31f92d6e6b4b0993;hp=b93f29de4498c50f574e55c4c8b3e9a34dfe0aee;hb=8af63afe0ce633fd488f0669614e2d08680f90bc;hpb=7e611b37e41f0ec7ec6d3173b7e88ed5b9b3a276 diff --git a/audiod.c b/audiod.c index b93f29de..88599c3f 100644 --- a/audiod.c +++ b/audiod.c @@ -801,7 +801,7 @@ static int parse_stream_command(const char *txt, const char **cmd) return -E_MISSING_COLON; *cmd = p + 1; len = p - txt; - re = malloc(len + 1); + re = para_malloc(len + 1); strncpy(re, txt, len); re[len] = '\0'; ret = get_matching_audio_format_nums(re); @@ -1451,7 +1451,6 @@ int main(int argc, char *argv[]) parse_config_or_die(); crypt_init(); daemon_set_priority(OPT_UINT32_VAL(PRIORITY)); - recv_init(); if (daemon_init_colors_or_die(OPT_UINT32_VAL(COLOR), COLOR_AUTO, COLOR_NO, OPT_GIVEN(LOGFILE))) { for (i = 0; i < OPT_GIVEN(LOG_COLOR); i++)