Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
867ca276
Commit
867ca276
authored
Mar 16, 2006
by
Eric Wong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hopefully the last of the spelling fixes :>
git-svn-id:
https://svn.musicpd.org/mpd/trunk@3923
09075e82-0dd4-0310-85a5-a0d7c8717e4f
parent
e0439446
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
COMMANDS
doc/COMMANDS
+1
-1
audioOutput_shout.c
src/audioOutputs/audioOutput_shout.c
+2
-2
main.c
src/main.c
+1
-1
permission.c
src/permission.c
+2
-2
No files found.
doc/COMMANDS
View file @
867ca276
...
...
@@ -113,7 +113,7 @@ next
pause <bool pause>
toggle pause/resume playing
_pause_ is required and should be 0 or 1
NOTE: use of pause command w/o the _pause_ argument is depr
i
cated
NOTE: use of pause command w/o the _pause_ argument is depr
e
cated
password <string password>
this is used for authentication with the server.
...
...
src/audioOutputs/audioOutput_shout.c
View file @
867ca276
...
...
@@ -170,7 +170,7 @@ static int myShout_initDriver(AudioOutput * audioOutput, ConfigParam * param) {
if
(
*
test
!=
'\0'
||
sd
->
quality
<
0
.
0
||
sd
->
quality
>
10
.
0
)
{
ERROR
(
"shout quality
\"
%s
\"
is not a number in the "
"rage 0-10, line %i
\n
"
,
blockParam
->
value
,
"ra
n
ge 0-10, line %i
\n
"
,
blockParam
->
value
,
blockParam
->
line
);
exit
(
EXIT_FAILURE
);
}
...
...
@@ -196,7 +196,7 @@ static int myShout_initDriver(AudioOutput * audioOutput, ConfigParam * param) {
sd
->
bitrate
=
strtol
(
blockParam
->
value
,
&
test
,
10
);
if
(
*
test
!=
'\0'
||
sd
->
bitrate
<=
0
)
{
ERROR
(
"bitrate at line %i should be a positve integer "
ERROR
(
"bitrate at line %i should be a posit
i
ve integer "
"
\n
"
,
blockParam
->
line
);
exit
(
EXIT_FAILURE
);
}
...
...
src/main.c
View file @
867ca276
...
...
@@ -220,7 +220,7 @@ void changeToUser() {
* (must be done before we change our uid)
*/
if
(
initgroups
(
param
->
value
,
userpwd
->
pw_gid
)
==
-
1
)
{
WARNING
(
"cannot init suplementary groups "
WARNING
(
"cannot init sup
p
lementary groups "
"of user
\"
%s
\"
at line %i: %s
\n
"
,
param
->
value
,
param
->
line
,
strerror
(
errno
));
...
...
src/permission.c
View file @
867ca276
...
...
@@ -58,7 +58,7 @@ unsigned int parsePermissions(char * string) {
permission
|=
PERMISSION_ADMIN
;
}
else
{
ERROR
(
"uknown permission
\"
%s
\"\n
"
,
temp
);
ERROR
(
"u
n
known permission
\"
%s
\"\n
"
,
temp
);
exit
(
EXIT_FAILURE
);
}
...
...
@@ -97,7 +97,7 @@ void initPermissions() {
if
(
!
(
temp
=
strtok_r
(
param
->
value
,
PERMISSION_PASSWORD_CHAR
,
&
cp2
)))
{
ERROR
(
"something weird just happend in permission.c
\n
"
);
ERROR
(
"something weird just happen
e
d in permission.c
\n
"
);
exit
(
EXIT_FAILURE
);
}
...
...
Write
Preview
Markdown
is supported
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