[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r30358 - gnunet/src/gns
From: |
gnunet |
Subject: |
[GNUnet-SVN] r30358 - gnunet/src/gns |
Date: |
Sun, 20 Oct 2013 16:13:58 +0200 |
Author: grothoff
Date: 2013-10-20 16:13:58 +0200 (Sun, 20 Oct 2013)
New Revision: 30358
Modified:
gnunet/src/gns/gnunet-service-gns_resolver.c
gnunet/src/gns/test_gns_revocation.sh
Log:
-fix testcase
Modified: gnunet/src/gns/gnunet-service-gns_resolver.c
===================================================================
--- gnunet/src/gns/gnunet-service-gns_resolver.c 2013-10-20 13:58:13 UTC
(rev 30357)
+++ gnunet/src/gns/gnunet-service-gns_resolver.c 2013-10-20 14:13:58 UTC
(rev 30358)
@@ -916,6 +916,10 @@
continue;
}
}
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Returning DNS response for `%s' with %u answers\n",
+ rh->ac_tail->label,
+ (unsigned int) p->num_answers);
rh->proc (rh->proc_cls, rd_count - skip, rd);
GNS_resolver_lookup_cancel (rh);
}
@@ -1472,6 +1476,10 @@
}
/* yes, we are done, return result */
+ GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
+ "Returning GNS response for `%s' with %u answers\n",
+ rh->ac_tail->label,
+ rd_off);
rh->proc (rh->proc_cls, rd_off, rd_new);
GNS_resolver_lookup_cancel (rh);
return;
Modified: gnunet/src/gns/test_gns_revocation.sh
===================================================================
--- gnunet/src/gns/test_gns_revocation.sh 2013-10-20 13:58:13 UTC (rev
30357)
+++ gnunet/src/gns/test_gns_revocation.sh 2013-10-20 14:13:58 UTC (rev
30358)
@@ -23,10 +23,10 @@
exit 1
fi
-if [ "$RES_IP_REV" == " " ]
+if [ "x$RES_IP_REV" == "x" ]
then
exit 0
else
- echo "Failed to revoke zone, got $RES_IP."
+ echo "Failed to revoke zone, got $RES_IP_REV."
exit 1
fi
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r30358 - gnunet/src/gns,
gnunet <=