Fix handling of standard upper-case types in dig() - sacc - sacc(omys), simple console gopher client
 (HTM) git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/sacc/
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Tags
 (DIR) LICENSE
       ---
 (DIR) commit cffc2d4ac776d81b9e8a8083cee8064cd3f0d954
 (DIR) parent 81119985dca56161474faa5c9b70996d7a1aea83
 (HTM) Author: Quentin Rameau <quinq@fifth.space>
       Date:   Thu, 16 Aug 2018 14:50:04 +0200
       
       Fix handling of standard upper-case types in dig()
       
       Diffstat:
         M sacc.c                              |      11 ++++++-----
       
       1 file changed, 6 insertions(+), 5 deletions(-)
       ---
 (DIR) diff --git a/sacc.c b/sacc.c
       @@ -692,14 +692,15 @@ dig(Item *entry, Item *item)
                        plumb(plumburi);
                        free(plumburi);
                        return 0;
       -        case 'g':
       -        case 'I':
                default:
       -                if (t >= '0' && t <= 'Z')
       +                if (t >= '0' && t <= 'Z') {
                                uistatus("Type %c (%s) not supported",
                                         t, typedisplay(t));
       -                else
       -                        plumbitem(item);
       +                        return 0;
       +                }
       +        case 'g':
       +        case 'I':
       +                plumbitem(item);
                        return 0;
                }