From e37c5088eadfca8abf9bd366e7f7fce8b46ecb5f Mon Sep 17 00:00:00 2001 From: Anton Dyudin Date: Fri, 5 Jun 2015 11:58:32 -0700 Subject: [PATCH] Revert "Revert "remove docs for demo", "remove odds and ends", "demo network", "DEMO ONLY: root beak as %demo."" This reverts commit b112c9ea1efb661d4bb33965b10ad0a511a86a0c. Conflicts: urb/urbit.pill urb/zod/base/ape/cloud.hoon urb/zod/base/pub/cloud/src/main.js --- v/ames.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/v/ames.c b/v/ames.c index b48c1d5d2..1303f4e96 100644 --- a/v/ames.c +++ b/v/ames.c @@ -65,7 +65,14 @@ _ames_czar(c3_y imp_y, c3_s* por_s) c3_c* nam_c = u3r_string(nam); c3_c dns_c[64]; - snprintf(dns_c, 64, "%s.urbit.org", nam_c + 1); + // test network + if ( 0 == imp_y ) { + strcpy(dns_c,"104.236.149.223"); + } + else { + snprintf(dns_c, 64, "%s.urbit.org", nam_c + 1); + } + // snprintf(dns_c, 64, "%s.urbit.org", nam_c + 1); // uL(fprintf(uH, "czar %s, dns %s\n", nam_c, dns_c)); free(nam_c);