$OpenBSD: patch-upnpglobalvars_c,v 1.4 2015/10/13 10:34:00 sthen Exp $

Support -r for incremental rescan
http://sourceforge.net/p/minidlna/patches/145/

--- upnpglobalvars.c.orig	Thu Sep 10 20:24:09 2015
+++ upnpglobalvars.c	Tue Oct 13 11:23:03 2015
@@ -92,3 +92,4 @@ short int scanning = 0;
 volatile short int quitting = 0;
 volatile uint32_t updateID = 0;
 const char *force_sort_criteria = NULL;
+short int rescan_db = 0;
