Merge pull request #471 from patthoyts/correct-view-lastpos

Fix the view lastpos response.
This commit is contained in:
Jan-Piet Mens
2024-06-15 11:21:48 +02:00
committed by GitHub

1
http.c
View File

@@ -1105,7 +1105,6 @@ static int view(struct mg_connection *conn, const char *viewname)
json_append_member(obj, "data", locarray);
json_delete(view);
json_delete(locarray);
return (json_response(conn, obj));
/* NOTREACHED */