aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2018-08-23 23:08:30 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-08-24 11:54:01 +0200
commitf8e20d05f527daeb8e42e366ca2ebe1546b061df (patch)
tree4595327df94770daae7d60399255b168fef1a15c /nx-X11/programs
parentfad80bc4fda7edec2b6a7c19dcd1a03600646fec (diff)
downloadnx-libs-f8e20d05f527daeb8e42e366ca2ebe1546b061df.tar.gz
nx-libs-f8e20d05f527daeb8e42e366ca2ebe1546b061df.tar.bz2
nx-libs-f8e20d05f527daeb8e42e366ca2ebe1546b061df.zip
Args.c: rename nxagentParseOptions to nxagentParseSingleOption
new name is more descriptive
Diffstat (limited to 'nx-X11/programs')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Args.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Args.c b/nx-X11/programs/Xserver/hw/nxagent/Args.c
index 262c1dfdb..30e3b8692 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Args.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Args.c
@@ -1037,14 +1037,14 @@ int ddxProcessArgument(int argc, char *argv[], int i)
return 0;
}
-static void nxagentParseOptions(char *name, char *value)
+static void nxagentParseSingleOption(char *name, char *value)
{
int size, argc;
char *argv[2] = { NULL, NULL };
#ifdef TEST
- fprintf(stderr, "nxagentParseOptions: Processing option '%s' = '%s'.\n",
+ fprintf(stderr, "nxagentParseSingleOption: Processing option '%s' = '%s'.\n",
validateString(name), validateString(value));
#endif
@@ -1081,7 +1081,7 @@ static void nxagentParseOptions(char *name, char *value)
if (nxagentReconnectTrap == True)
{
#ifdef DEBUG
- fprintf(stderr, "nxagentParseOptions: Ignoring option 'render' at reconnection.\n");
+ fprintf(stderr, "nxagentParseSingleOption: Ignoring option 'render' at reconnection.\n");
#endif
}
else if (nxagentRenderEnable == UNDEFINED)
@@ -1113,7 +1113,7 @@ static void nxagentParseOptions(char *name, char *value)
if (nxagentReconnectTrap == True)
{
#ifdef DEBUG
- fprintf(stderr, "nxagentParseOptions: Ignoring option 'fullscreen' at reconnection.\n");
+ fprintf(stderr, "nxagentParseSingleOption: Ignoring option 'fullscreen' at reconnection.\n");
#endif
}
else if (!strcmp(value, "1"))
@@ -1283,7 +1283,7 @@ static void nxagentParseOptions(char *name, char *value)
if (nxagentReconnectTrap == True)
{
#ifdef DEBUG
- fprintf(stderr, "nxagentParseOptions: Ignoring option 'autodpi' at reconnection.\n");
+ fprintf(stderr, "nxagentParseSingleOption: Ignoring option 'autodpi' at reconnection.\n");
#endif
}
else if (!strcmp(value, "0"))
@@ -1368,7 +1368,7 @@ static void nxagentParseOptions(char *name, char *value)
if ((errno) && (0 == sleep_parse))
{
- fprintf(stderr, "nxagentParseOptions: Unable to convert value [%s] of option [%s]. "
+ fprintf(stderr, "nxagentParseSingleOption: Unable to convert value [%s] of option [%s]. "
"Ignoring option.\n",
validateString(value), validateString(name));
@@ -1379,7 +1379,7 @@ static void nxagentParseOptions(char *name, char *value)
{
sleep_parse = UINT_MAX;
- fprintf(stderr, "nxagentParseOptions: Warning: value [%s] of option [%s] "
+ fprintf(stderr, "nxagentParseSingleOption: Warning: value [%s] of option [%s] "
"out of range, clamped to [%lu].\n",
validateString(value), validateString(name), sleep_parse);
}
@@ -1388,7 +1388,7 @@ static void nxagentParseOptions(char *name, char *value)
{
sleep_parse = 0;
- fprintf(stderr, "nxagentParseOptions: Warning: value [%s] of option [%s] "
+ fprintf(stderr, "nxagentParseSingleOption: Warning: value [%s] of option [%s] "
"out of range, clamped to [%lu].\n",
validateString(value), validateString(name), sleep_parse);
}
@@ -1427,7 +1427,7 @@ static void nxagentParseOptions(char *name, char *value)
if ((errno) && (0 == tolerance_parse))
{
- fprintf(stderr, "nxagentParseOptions: Unable to convert value [%s] of option [%s]. "
+ fprintf(stderr, "nxagentParseSingleOption: Unable to convert value [%s] of option [%s]. "
"Ignoring option.\n",
validateString(value), validateString(name));
@@ -1438,7 +1438,7 @@ static void nxagentParseOptions(char *name, char *value)
{
tolerance_parse = UINT_MAX;
- fprintf(stderr, "nxagentParseOptions: Warning: value [%s] of option [%s] "
+ fprintf(stderr, "nxagentParseSingleOption: Warning: value [%s] of option [%s] "
"out of range, clamped to [%lu].\n",
validateString(value), validateString(name), tolerance_parse);
}
@@ -1447,7 +1447,7 @@ static void nxagentParseOptions(char *name, char *value)
{
tolerance_parse = 0;
- fprintf(stderr, "nxagentParseOptions: Warning: value [%s] of option [%s] "
+ fprintf(stderr, "nxagentParseSingleOption: Warning: value [%s] of option [%s] "
"out of range, clamped to [%lu].\n",
validateString(value), validateString(name), tolerance_parse);
}
@@ -1460,7 +1460,7 @@ static void nxagentParseOptions(char *name, char *value)
case ToleranceChecksBypass:
break;
default:
- fprintf(stderr, "nxagentParseOptions: Warning: value [%s] of "
+ fprintf(stderr, "nxagentParseSingleOption: Warning: value [%s] of "
"option [%s] unknown, will be mapped to "
"\"Bypass\" [%u] value internally.\n",
validateString(value), validateString(name),
@@ -1495,7 +1495,7 @@ static void nxagentParseOptions(char *name, char *value)
else
{
#ifdef DEBUG
- fprintf(stderr, "nxagentParseOptions: Ignored option [%s] with value [%s].\n",
+ fprintf(stderr, "nxagentParseSingleOption: Ignored option [%s] with value [%s].\n",
validateString(name), validateString(value));
#endif
@@ -1563,7 +1563,7 @@ static void nxagentParseOptionString(char *string)
value = NULL;
}
- nxagentParseOptions(option, value);
+ nxagentParseSingleOption(option, value);
}
}