taler-mdb

GNU Taler Extensions and Integrations
Log | Files | Refs | Submodules | README | LICENSE

commit a82c44164813f6d1428d518ef79afd2c30fdf7dc
parent 95eac26bbb4ae6258547d07aa111fafd57127ab5
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 14 Dec 2019 22:38:12 +0100

wallet now handles upper-case correctly

Diffstat:
Msrc/main.c | 9++++-----
1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/main.c b/src/main.c @@ -670,7 +670,6 @@ 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. */ @@ -683,10 +682,9 @@ show_qrcode (const char *uri) base, dddash); GNUNET_free (base); -#else - (void) dddash; - upper = GNUNET_strdup (uri); -#endif + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "Showing QR code for `%s'\n", + upper); /* 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 @@ -750,6 +748,7 @@ show_qrcode (const char *uri) (void) write (qrDisplay.backlightfd, &backlight_on, 1); } + #endif