Skip to content

Commit 38a675c

Browse files
committed
server/netget.c: get_type(): reword logged messages [#266]
Signed-off-by: Jim Klimov <[email protected]>
1 parent 3e5d04e commit 38a675c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/netget.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ static void get_type(nut_ctype_t *client, const char *upsname, const char *var)
185185

186186
errno = 0;
187187
if (!str_to_double_strict(node->val, &d, 10)) {
188-
upsdebugx(3, "%s: UPS[%s] variable %s is a NUMBER but not (exclusively) a double: %s",
188+
upsdebugx(3, "%s: UPS[%s] variable %s is flagged a NUMBER but not (exclusively) a double: %s",
189189
__func__, upsname, var, node->val);
190190
upsdebug_with_errno(4, "%s: val=%f len=%" PRIuSIZE,
191191
__func__, d, len);
@@ -197,7 +197,7 @@ static void get_type(nut_ctype_t *client, const char *upsname, const char *var)
197197
errno = 0;
198198
ok = 1;
199199
if (!str_to_long_strict(node->val, &l, 10)) {
200-
upsdebugx(3, "%s: UPS[%s] variable %s is a NUMBER but not (exclusively) a long int: %s",
200+
upsdebugx(3, "%s: UPS[%s] variable %s is flagged a NUMBER but not (exclusively) a long int: %s",
201201
__func__, upsname, var, node->val);
202202
upsdebug_with_errno(4, "%s: val=%ld len=%" PRIuSIZE,
203203
__func__, l, len);

0 commit comments

Comments
 (0)