[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r20775 - in gnunet/src/gns: . proxy
From: |
gnunet |
Subject: |
[GNUnet-SVN] r20775 - in gnunet/src/gns: . proxy |
Date: |
Mon, 26 Mar 2012 17:18:23 +0200 |
Author: schanzen
Date: 2012-03-26 17:18:23 +0200 (Mon, 26 Mar 2012)
New Revision: 20775
Modified:
gnunet/src/gns/gnunet-service-gns.c
gnunet/src/gns/proxy/gnunet-gns-proxy.py
Log:
-fixes
Modified: gnunet/src/gns/gnunet-service-gns.c
===================================================================
--- gnunet/src/gns/gnunet-service-gns.c 2012-03-26 15:13:01 UTC (rev 20774)
+++ gnunet/src/gns/gnunet-service-gns.c 2012-03-26 15:18:23 UTC (rev 20775)
@@ -155,28 +155,6 @@
static struct GNUNET_TIME_Relative default_lookup_timeout;
/**
- * Normalizes the name in old
- *
- * @param old the old name to normalize
- * @param new the buffer to write the new name to
- *
-static void
-normalize_name(const char* old, char** new)
-{
- uint8_t *tmp_name;
- size_t n_len;
-
- tmp_name = u8_tolower ((uint8_t*)old, strlen ((char *) old),
- NULL, UNINORM_NFD, NULL, &n_len);
-
- memcpy(*new, tmp_name, n_len);
- (*new)[n_len] = '\0';
- free(tmp_name);
-}
-*/
-
-
-/**
* Continue shutdown
*/
static void
Modified: gnunet/src/gns/proxy/gnunet-gns-proxy.py
===================================================================
--- gnunet/src/gns/proxy/gnunet-gns-proxy.py 2012-03-26 15:13:01 UTC (rev
20774)
+++ gnunet/src/gns/proxy/gnunet-gns-proxy.py 2012-03-26 15:18:23 UTC (rev
20775)
@@ -150,7 +150,6 @@
data = i.recv(8192)
if data:
try:
- print self.headers
data = re.sub(r'\nAccept-Ranges: \w+', r'', data)
data = re.sub('(a href="http://(\w+\.)*zkey)',
self.shorten_zkey(), data)
@@ -159,7 +158,6 @@
arr.pop(0)
data = re.sub('(a href="http://(\w+\.)*)(\+)',
self.replace_and_shorten(to_repl), data)
- print data
out.send(data)
count = 0
except:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r20775 - in gnunet/src/gns: . proxy,
gnunet <=