[package] uhttpd: fix segfault triggered by Basic Auth checking
[openwrt.git] / package / uhttpd / src / uhttpd-utils.c
index 8a06c93..3821eb5 100644 (file)
@@ -728,8 +728,6 @@ int uh_auth_check(
                                        req->realm = realm;
                                        break;
                                }
-
-                               realm = NULL;
                        }
 
                        /* found a realm matching the username */