diff options
Diffstat (limited to 'src/examples/spdy_response_with_callback.c')
-rw-r--r-- | src/examples/spdy_response_with_callback.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/examples/spdy_response_with_callback.c b/src/examples/spdy_response_with_callback.c index f8a17442..14517ad1 100644 --- a/src/examples/spdy_response_with_callback.c +++ b/src/examples/spdy_response_with_callback.c | |||
@@ -92,7 +92,7 @@ standard_request_handler(void *cls, | |||
92 | printf("received request for '%s %s %s'\n", method, path, version); | 92 | printf("received request for '%s %s %s'\n", method, path, version); |
93 | if(strcmp(path,"/spdy-draft.txt")==0) | 93 | if(strcmp(path,"/spdy-draft.txt")==0) |
94 | { | 94 | { |
95 | FILE *fd = fopen(DATADIR "spdy-draft.txt","r"); | 95 | FILE *fd = fopen(DATA_DIR "spdy-draft.txt","r"); |
96 | 96 | ||
97 | if(NULL == (resp_headers = SPDY_name_value_create())) | 97 | if(NULL == (resp_headers = SPDY_name_value_create())) |
98 | { | 98 | { |
@@ -161,8 +161,8 @@ main (int argc, char *const *argv) | |||
161 | SPDY_init(); | 161 | SPDY_init(); |
162 | 162 | ||
163 | daemon = SPDY_start_daemon(atoi(argv[1]), | 163 | daemon = SPDY_start_daemon(atoi(argv[1]), |
164 | DATADIR "cert-and-key.pem", | 164 | DATA_DIR "cert-and-key.pem", |
165 | DATADIR "cert-and-key.pem", | 165 | DATA_DIR "cert-and-key.pem", |
166 | NULL, | 166 | NULL, |
167 | NULL, | 167 | NULL, |
168 | &standard_request_handler, | 168 | &standard_request_handler, |