- fixes, intendation
[oweals/gnunet.git] / src / gns / gnunet-dns2gns.c
index 0e347ca7e2252049acdc91f6e6940e8c685a1863..5647b808ec69398ee1aec94b7d1e4271c79757ac 100644 (file)
@@ -1,6 +1,6 @@
 /*
      This file is part of GNUnet.
-     (C) 2012-2013 Christian Grothoff (and other contributing authors)
+     Copyright (C) 2012-2013 Christian Grothoff (and other contributing authors)
 
      GNUnet is free software; you can redistribute it and/or modify
      it under the terms of the GNU General Public License as published
@@ -357,7 +357,7 @@ result_processor (void *cls,
          break;
        case GNUNET_DNSPARSER_TYPE_CNAME:
          rec.name = GNUNET_strdup (packet->queries[0].name);
-         rec.data.hostname = strdup (rd[i].data);
+         rec.data.hostname = GNUNET_strdup (rd[i].data);
          rec.dns_traffic_class = GNUNET_TUN_DNS_CLASS_INTERNET;
          rec.type = GNUNET_DNSPARSER_TYPE_CNAME;
          memcpy (rec.data.hostname,