mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 16:57:00 +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);
|
||||
else
|
||||
mslog(s, NULL, LOG_INFO, "could not find ID '%u'", id);
|
||||
goto error;
|
||||
}
|
||||
|
||||
if (!dbus_connection_send(conn, reply, NULL)) {
|
||||
|
||||
Reference in New Issue
Block a user