Hopefully the last of the spelling fixes :>
git-svn-id: https://svn.musicpd.org/mpd/trunk@3923 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
parent
e0439446b7
commit
867ca276ad
@ -113,7 +113,7 @@ next
|
|||||||
pause <bool pause>
|
pause <bool pause>
|
||||||
toggle pause/resume playing
|
toggle pause/resume playing
|
||||||
_pause_ is required and should be 0 or 1
|
_pause_ is required and should be 0 or 1
|
||||||
NOTE: use of pause command w/o the _pause_ argument is depricated
|
NOTE: use of pause command w/o the _pause_ argument is deprecated
|
||||||
|
|
||||||
password <string password>
|
password <string password>
|
||||||
this is used for authentication with the server.
|
this is used for authentication with the server.
|
||||||
|
@ -170,7 +170,7 @@ static int myShout_initDriver(AudioOutput * audioOutput, ConfigParam * param) {
|
|||||||
|
|
||||||
if(*test != '\0' || sd->quality < 0.0 || sd->quality > 10.0) {
|
if(*test != '\0' || sd->quality < 0.0 || sd->quality > 10.0) {
|
||||||
ERROR("shout quality \"%s\" is not a number in the "
|
ERROR("shout quality \"%s\" is not a number in the "
|
||||||
"rage 0-10, line %i\n", blockParam->value,
|
"range 0-10, line %i\n", blockParam->value,
|
||||||
blockParam->line);
|
blockParam->line);
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
@ -196,7 +196,7 @@ static int myShout_initDriver(AudioOutput * audioOutput, ConfigParam * param) {
|
|||||||
sd->bitrate = strtol(blockParam->value, &test, 10);
|
sd->bitrate = strtol(blockParam->value, &test, 10);
|
||||||
|
|
||||||
if(*test != '\0' || sd->bitrate <= 0) {
|
if(*test != '\0' || sd->bitrate <= 0) {
|
||||||
ERROR("bitrate at line %i should be a positve integer "
|
ERROR("bitrate at line %i should be a positive integer "
|
||||||
"\n", blockParam->line);
|
"\n", blockParam->line);
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
@ -220,7 +220,7 @@ void changeToUser() {
|
|||||||
* (must be done before we change our uid)
|
* (must be done before we change our uid)
|
||||||
*/
|
*/
|
||||||
if (initgroups(param->value, userpwd->pw_gid) == -1) {
|
if (initgroups(param->value, userpwd->pw_gid) == -1) {
|
||||||
WARNING("cannot init suplementary groups "
|
WARNING("cannot init supplementary groups "
|
||||||
"of user \"%s\" at line %i: %s\n",
|
"of user \"%s\" at line %i: %s\n",
|
||||||
param->value, param->line,
|
param->value, param->line,
|
||||||
strerror(errno));
|
strerror(errno));
|
||||||
|
@ -58,7 +58,7 @@ unsigned int parsePermissions(char * string) {
|
|||||||
permission |= PERMISSION_ADMIN;
|
permission |= PERMISSION_ADMIN;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
ERROR("uknown permission \"%s\"\n",temp);
|
ERROR("unknown permission \"%s\"\n",temp);
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -97,7 +97,7 @@ void initPermissions() {
|
|||||||
|
|
||||||
if(!(temp = strtok_r(param->value,
|
if(!(temp = strtok_r(param->value,
|
||||||
PERMISSION_PASSWORD_CHAR,&cp2))) {
|
PERMISSION_PASSWORD_CHAR,&cp2))) {
|
||||||
ERROR("something weird just happend in permission.c\n");
|
ERROR("something weird just happened in permission.c\n");
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user