mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-13 18:12:03 +08:00
send empty array instead of nothing when a user or ID aren't found.
This commit is contained in:
@@ -675,7 +675,6 @@ static void info_common(main_server_st * s, DBusConnection * conn,
|
|||||||
user);
|
user);
|
||||||
else
|
else
|
||||||
mslog(s, NULL, LOG_INFO, "could not find ID '%u'", id);
|
mslog(s, NULL, LOG_INFO, "could not find ID '%u'", id);
|
||||||
goto error;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!dbus_connection_send(conn, reply, NULL)) {
|
if (!dbus_connection_send(conn, reply, NULL)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user