]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
printf arg missing %
authorwessels <>
Wed, 29 Oct 1997 22:18:20 +0000 (22:18 +0000)
committerwessels <>
Wed, 29 Oct 1997 22:18:20 +0000 (22:18 +0000)
src/fqdncache.cc

index d58519c3ea0d86ed9c25c0183cf2d97ea7a2a7f1..465afa83acb7bfcbdc6b857eddb9862c8f8fd3bf 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: fqdncache.cc,v 1.62 1997/10/27 22:48:56 wessels Exp $
+ * $Id: fqdncache.cc,v 1.63 1997/10/29 15:18:20 wessels Exp $
  *
  * DEBUG: section 35    FQDN Cache
  * AUTHOR: Harvest Derived
@@ -691,7 +691,7 @@ fqdncache_dnsDispatch(dnsserver_t * dns, fqdncache_entry * f)
     if (f->status != FQDN_PENDING)
        debug_trap("fqdncache_dnsDispatch: status != FQDN_PENDING");
     buf = xcalloc(1, 256);
-    snprintf(buf, 256, "s\n", f->name);
+    snprintf(buf, 256, "%s\n", f->name);
     dns->flags |= DNS_FLAG_BUSY;
     dns->data = f;
     f->status = FQDN_DISPATCHED;