1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-12-22 04:02:04 +03:00

Merge pull request #254 from oldmancoyote/master

Typo in example
This commit is contained in:
bel2125
2016-01-29 20:10:59 +01:00
2 changed files with 2 additions and 2 deletions

View File

@@ -91,7 +91,7 @@ int main(void)
/* Display a welcome message */ /* Display a welcome message */
printf("File upload demo.\n"); 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 */ /* Start the server */
ctx = mg_start(&callbacks, NULL, options); ctx = mg_start(&callbacks, NULL, options);

View File

@@ -18,7 +18,7 @@ LIBS = -lpthread
include $(TOP)/resources/Makefile.in-os include $(TOP)/resources/Makefile.in-os
ifeq ($(TARGET_OS),LINUX) ifeq ($(TARGET_OS),LINUX)
LIBS += -ldl LIBS += -ldl -DMG_LEGACY_INTERFACE=1
endif endif
all: $(PROG) all: $(PROG)