Back out change that Hannes Boehm said he didn't intend to commit,
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 20 Dec 1998 01:47:05 +0000 (01:47 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 20 Dec 1998 01:47:05 +0000 (01:47 +0000)
replacing "memset(..., 0, ...)" with "bzero(..., ...)" - he asked me to
remove the change.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@130 f5534014-38df-0310-8fa8-9805f1628bb7

packet-dns.c

index f9110f93d7fa1c258488218b1a5fe1a305ea254b..b0579722913043934a0a1845279fbfb5cdfaaed4 100644 (file)
@@ -1,7 +1,7 @@
 /* packet-dns.c
  * Routines for DNS packet disassembly
  *
- * $Id: packet-dns.c,v 1.11 1998/12/19 00:12:22 hannes Exp $
+ * $Id: packet-dns.c,v 1.12 1998/12/20 01:47:05 guy Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@zing.org>
@@ -216,7 +216,7 @@ get_dns_name(const u_char *dns_data_ptr, const u_char *pd, int offset,
   const u_char *dataptr = pd + offset;
   int str_len = 0;
 
-  bzero (nameptr, maxname);
+  memset (nameptr, 0, maxname);
   len = copy_name_component_rec(dns_data_ptr, dataptr, nameptr, &str_len);
   
   return len;