diff --git a/examples/upload/upload.c b/examples/upload/upload.c index 29428846..a2bb9b6e 100644 --- a/examples/upload/upload.c +++ b/examples/upload/upload.c @@ -91,7 +91,7 @@ int main(void) /* Display a welcome message */ printf("File upload demo.\n"); - printf("Open http://localhost:%s/ im your browser.\n\n", PORT); + printf("Open http://localhost:%s/ in your browser.\n\n", PORT); /* Start the server */ ctx = mg_start(&callbacks, NULL, options); diff --git a/examples/ws_server/Makefile b/examples/ws_server/Makefile index 399c918d..60d9dbed 100644 --- a/examples/ws_server/Makefile +++ b/examples/ws_server/Makefile @@ -18,7 +18,7 @@ LIBS = -lpthread include $(TOP)/resources/Makefile.in-os ifeq ($(TARGET_OS),LINUX) - LIBS += -ldl + LIBS += -ldl -DMG_LEGACY_INTERFACE=1 endif all: $(PROG)