commit 1521049ba4dcc394ef3bc21d88805766308c6bdf
parent c902e09448cff020c792c98420302cbcbf131b53
Author: Dominik Hofer <dominik.hofer@bfh.ch>
Date: Fri, 6 Dec 2019 10:18:03 +0100
wallet still does not like upper case
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/main.c b/src/main.c
@@ -583,6 +583,7 @@ show_qrcode (const char *uri)
"QRinput_new2");
return;
}
+#if UPPER_SUPPORTED
/* convert all characters until the fourth '/' to upper
case. The rest _should_ be upper case in a NICE setup,
but we can't warrant it and must not touch those. */
@@ -595,6 +596,10 @@ show_qrcode (const char *uri)
base,
dddash);
GNUNET_free (base);
+#else
+ (void) dddash;
+ upper = GNUNET_strdup (uri);
+#endif
/* first try encoding as uppercase-only alpha-numerical
QR code (much smaller encoding); if that fails, also
try using binary encoding (in case nick contains