From 88e1c22e80961cb46e066302a5495b188eb0fc87 Mon Sep 17 00:00:00 2001
From: Fabian Keil <fk@fabiankeil.de>
Date: Sun, 30 Oct 2011 16:17:21 +0000
Subject: [PATCH] Minor simplification for get_last_url()

---
 filters.c | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/filters.c b/filters.c
index 54c2c6f4..7ce98587 100644
--- a/filters.c
+++ b/filters.c
@@ -1,4 +1,4 @@
-const char filters_rcs[] = "$Id: filters.c,v 1.148 2011/10/30 16:16:07 fabiankeil Exp $";
+const char filters_rcs[] = "$Id: filters.c,v 1.149 2011/10/30 16:17:07 fabiankeil Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/filters.c,v $
@@ -1140,15 +1140,9 @@ char *get_last_url(char *subject, const char *redirect_mode)
          }
          token = strtok(NULL, "?&");
       }
-
-      if (found)
-      {
-         freez(subject);
-         return found;
-      }
-
       freez(subject);
-      return NULL;
+
+      return found;
    }
 
    /* Else, just look for a URL inside this one, without decoding anything. */
-- 
2.49.0