Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Martin Mareš
compctl-kam
Commits
0d76062b
Commit
0d76062b
authored
Mar 18, 2012
by
Petr Baudis
Browse files
compctld: Do not require 15bit pid
parent
74792bf3
Changes
1
Hide whitespace changes
Inline
Side-by-side
compctld.c
View file @
0d76062b
...
...
@@ -209,7 +209,7 @@ sockerror:
pid_t
pid
=
atoi
(
line
+
strlen
(
"stop "
));
/* Sanity check. */
if
(
pid
<
10
||
pid
>
32768
)
{
if
(
pid
<
10
)
{
syslog
(
LOG_WARNING
,
"stop: invalid pid (%d)"
,
pid
);
mprintf
(
fd
,
"0 invalid pid"
);
close
(
fd
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment