aboutsummaryrefslogtreecommitdiff
path: root/src/gns/nss
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-08-15 12:57:56 +0000
committerChristian Grothoff <christian@grothoff.org>2013-08-15 12:57:56 +0000
commitf9f029379a162f4fb67bca5f92df4e40725582c5 (patch)
tree14d8c1d142fedecf4f63866b3ea785f6c26a51fe /src/gns/nss
parent29b170354c0f50c7efe9ac01353db06dfeeea3f0 (diff)
downloadgnunet-f9f029379a162f4fb67bca5f92df4e40725582c5.tar.gz
gnunet-f9f029379a162f4fb67bca5f92df4e40725582c5.zip
-gads to gnu
Diffstat (limited to 'src/gns/nss')
-rw-r--r--src/gns/nss/nss_gns.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gns/nss/nss_gns.c b/src/gns/nss/nss_gns.c
index ce9dcf34d..29dbfd87b 100644
--- a/src/gns/nss/nss_gns.c
+++ b/src/gns/nss/nss_gns.c
@@ -61,13 +61,13 @@ static int ends_with(const char *name, const char* suffix) {
61 61
62 62
63/** 63/**
64 * Check if name is inside .gads or .zkey TLD 64 * Check if name is inside .gnu or .zkey TLD
65 * 65 *
66 * @param name name to check 66 * @param name name to check
67 * @return 1 if true 67 * @return 1 if true
68 */ 68 */
69static int verify_name_allowed(const char *name) { 69static int verify_name_allowed (const char *name) {
70 return ends_with(name, ".gads") || ends_with(name, ".zkey"); 70 return ends_with(name, ".gnu") || ends_with(name, ".zkey");
71} 71}
72 72
73/** 73/**