Skip to content

Commit

Permalink
Minor bug in tcpmuxd fixed
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
  • Loading branch information
sustrik committed Nov 21, 2014
1 parent 3acb492 commit 46d735b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/devices/tcpmuxd.c
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ static void nn_tcpmuxd_routine (void *arg)
errno_assert (ssz >= 0);
nn_assert (ssz == sz);
for (i = 0; i != sz; ++i)
tc->service [sz] = tolower (tc->service [sz]);
tc->service [i] = tolower (tc->service [i]);
tc->service [sz] = 0;

/* Add the entry to the IPC connections list. */
Expand Down

0 comments on commit 46d735b

Please sign in to comment.