diff options
author | Adam Chlipala <adam@chlipala.net> | 2015-05-03 09:40:13 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2015-05-03 09:40:13 -0400 |
commit | 3433659de13e62d84caddbdbe4f6093f3514c1b6 (patch) | |
tree | 636b29fc000ec6c1ea2c744e6b2adce28e7ca51f /src | |
parent | e397773585d073cfb089e7a2f2b038ea3c60a4a4 (diff) |
Set dummy header lookup function in static.c
Diffstat (limited to 'src')
-rw-r--r-- | src/c/static.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/c/static.c b/src/c/static.c index 8f35a2d4..c8fd5bc7 100644 --- a/src/c/static.c +++ b/src/c/static.c @@ -16,6 +16,10 @@ static void log_(void *data, const char *fmt, ...) { static uw_loggers loggers = {NULL, log_, log_}; +static char *get_header(void *data, const char *h) { + return NULL; +} + int main(int argc, char *argv[]) { uw_context ctx; failure_kind fk; @@ -27,6 +31,7 @@ int main(int argc, char *argv[]) { ctx = uw_init(0, &loggers); uw_set_app(ctx, &uw_application); + uw_set_headers(ctx, get_header, NULL); uw_initialize(ctx); while (1) { |