}
+const struct GNUNET_HashCode *
+GM_h2hc (const struct GNUNET_MeshHash *id)
+{
+ static struct GNUNET_HashCode hc;
+ memcpy (&hc, id, sizeof (*id));
+
+ return &hc;
+}
+
+
#if !defined(GNUNET_CULL_LOGGING)
const char *
GM_m2s (uint16_t m)
sprintf(buf, "%u (UNKNOWN TYPE)", m);
return buf;
}
- sprintf(buf, "%31s", t);
+ sprintf(buf, "{%22s}", t);
return buf;
}
#else