Initial web server implementation

This commit is contained in:
frtabu
2022-11-30 11:36:39 +01:00
parent 21b3484e02
commit 93a6d4087d
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -37,6 +37,7 @@
#include "common/utils/websrv/websrv_noforms.h"
#include <common/utils/assertions.h>
#define MAX_LAYER 8
/* replacement for xforms function used in xforms softscope */
@@ -53,6 +54,7 @@ typedef struct {
FL_OBJECT *websrv_fl_add_xyplot(int t, FL_Coord x, FL_Coord y, FL_Coord w, FL_Coord h, const char *label)
{
FL_OBJECT *obj;
obj = (FL_OBJECT *)calloc(1, sizeof(FL_OBJECT));
AssertFatal((obj != NULL), "Cannot allocate scope object for %s\n", (label!=NULL)?label:"??");
if (obj) {