projects
/
mech_eap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
D-Bus: Make wpas_dbus_error_scan_error() static
[mech_eap.git]
/
wpa_supplicant
/
dbus
/
dbus_new_helpers.c
diff --git
a/wpa_supplicant/dbus/dbus_new_helpers.c
b/wpa_supplicant/dbus/dbus_new_helpers.c
index
750522d
..
8df7ac1
100644
(file)
--- a/
wpa_supplicant/dbus/dbus_new_helpers.c
+++ b/
wpa_supplicant/dbus/dbus_new_helpers.c
@@
-136,7
+136,7
@@
static int is_signature_correct(DBusMessage *message,
if (arg->dir == ARG_IN) {
size_t blen = registered_sig + MAX_SIG_LEN - pos;
ret = os_snprintf(pos, blen, "%s", arg->type);
- if (
ret < 0 || (size_t) ret >= blen
)
+ if (
os_snprintf_error(blen, ret)
)
return 0;
pos += ret;
}