From: Andre Date: Sat, 15 Apr 2006 17:50:59 +0000 (+0200) Subject: remove null termination. X-Git-Tag: v0.2.12~91 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=cf19efc8a8d527487798feaa5edccc0a76b144d4;p=paraslash.git remove null termination. The previous patch missed to remove a line. Quite a serious mistake as 'ret' no longer contains the length of the message but the user id.. --- diff --git a/audiod.c b/audiod.c index b0f9f786..e1bcbd12 100644 --- a/audiod.c +++ b/audiod.c @@ -1443,7 +1443,6 @@ static int handle_connect(void) if (ret < 0) goto out; PARA_INFO_LOG("connection from user %i\n", ret); - buf[ret] = '\0'; ret = check_perms(ret); if (ret < 0) goto out;