URI: 
       check for bin == NULL - sent - simple plaintext presentation tool
  HTML git clone git://git.suckless.org/sent
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit edb46305647d909199a860b6b0812595742f6fe4
   DIR parent 24762d01720aaee44334249fa70498a0536ff89e
  HTML Author: Markus Teich <markus.teich@stusta.mhn.de>
       Date:   Tue,  8 Dec 2015 22:34:48 +0100
       
       check for bin == NULL
       
       Diffstat:
         M sent.c                              |       3 ++-
       
       1 file changed, 2 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/sent.c b/sent.c
       @@ -173,7 +173,8 @@ Image *ffopen(char *filename)
                                    REG_NOSUB | REG_EXTENDED | REG_ICASE))
                                continue;
                        if (!regexec(&regex, filename, 0, NULL, 0)) {
       -                        bin = filters[i].bin;
       +                        if (!(bin = filters[i].bin))
       +                                return NULL;
                                break;
                        }
                }