diff src/c/request.c @ 1334:a1aa62b472cf

Change Basis.debug to use the protocol's debug function
author Adam Chlipala <adam@chlipala.net>
date Sun, 12 Dec 2010 10:35:04 -0500
parents 1cc67fdac4d3
children b106ca8200b1
line wrap: on
line diff
--- a/src/c/request.c	Sat Dec 11 19:57:22 2010 -0500
+++ b/src/c/request.c	Sun Dec 12 10:35:04 2010 -0500
@@ -35,7 +35,7 @@
 }
 
 uw_context uw_request_new_context(uw_app *app, void *logger_data, uw_logger log_error, uw_logger log_debug) {
-  uw_context ctx = uw_init();
+  uw_context ctx = uw_init(logger_data, log_debug);
   int retries_left = MAX_RETRIES;
   uw_set_app(ctx, app);