[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r33545 - gnunet/src/gnsrecord
From: |
gnunet |
Subject: |
[GNUnet-SVN] r33545 - gnunet/src/gnsrecord |
Date: |
Thu, 5 Jun 2014 23:45:57 +0200 |
Author: grothoff
Date: 2014-06-05 23:45:56 +0200 (Thu, 05 Jun 2014)
New Revision: 33545
Modified:
gnunet/src/gnsrecord/gnsrecord.c
Log:
permit 'ANY' for typename
Modified: gnunet/src/gnsrecord/gnsrecord.c
===================================================================
--- gnunet/src/gnsrecord/gnsrecord.c 2014-06-05 21:44:39 UTC (rev 33544)
+++ gnunet/src/gnsrecord/gnsrecord.c 2014-06-05 21:45:56 UTC (rev 33545)
@@ -211,6 +211,9 @@
struct Plugin *plugin;
uint32_t ret;
+ if (0 == strcasecmp (dns_typename,
+ "ANY"))
+ return GNUNET_GNSRECORD_TYPE_ANY;
init ();
for (i = 0; i < num_plugins; i++)
{
@@ -236,6 +239,8 @@
struct Plugin *plugin;
const char * ret;
+ if (GNUNET_GNSRECORD_TYPE_ANY == type)
+ return "ANY";
init ();
for (i = 0; i < num_plugins; i++)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r33545 - gnunet/src/gnsrecord,
gnunet <=