projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff5444a
)
remove null termination.
author
Andre
<maan@p133.(none)>
Sat, 15 Apr 2006 17:50:59 +0000
(19:50 +0200)
committer
Andre
<maan@p133.(none)>
Sat, 15 Apr 2006 17:50:59 +0000
(19:50 +0200)
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..
audiod.c
patch
|
blob
|
history
diff --git
a/audiod.c
b/audiod.c
index b0f9f786932be2e44e5c87bb9411345746e16ff1..e1bcbd12c4e8ca365ecb12162905c1ea892173ce 100644
(file)
--- 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;