]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
[MINOR] Fix build error in stream_int_register_handler()
authorSimon Horman <horms@verge.net.au>
Fri, 12 Aug 2011 23:03:51 +0000 (08:03 +0900)
committerWilly Tarreau <w@1wt.eu>
Thu, 18 Aug 2011 21:52:36 +0000 (23:52 +0200)
There is no parameter or variable fct in stream_int_register_handler()
so the build fails when DPRINTF is active.

src/stream_interface.c

index d4bf1b895bc139b6443a655a14780c7c02ac55fe..350a47b581bd7e3bd88b25846784707202e4f51b 100644 (file)
@@ -306,7 +306,7 @@ void stream_int_chk_snd(struct stream_interface *si)
  */
 struct task *stream_int_register_handler(struct stream_interface *si, struct si_applet *app)
 {
-       DPRINTF(stderr, "registering handler %p for si %p (was %p)\n", fct, si, si->owner);
+       DPRINTF(stderr, "registering handler %p for si %p (was %p)\n", app, si, si->owner);
 
        si->update  = stream_int_update_embedded;
        si->shutr   = stream_int_shutr;