Просмотр исходного кода

Merge pull request #254 from oldmancoyote/master

Typo in example
bel2125 9 лет назад
Родитель
Сommit
38d130a2cc
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      examples/upload/upload.c
  2. 1 1
      examples/ws_server/Makefile

+ 1 - 1
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);

+ 1 - 1
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)