Add target url to missing limitmap warning
authorDennis Schafroth <dennis@indexdata.com>
Tue, 20 Sep 2011 10:13:19 +0000 (12:13 +0200)
committerDennis Schafroth <dennis@indexdata.com>
Tue, 20 Sep 2011 10:13:19 +0000 (12:13 +0200)
src/client.c

index ba2567d..5bebb59 100644 (file)
@@ -970,8 +970,8 @@ static void apply_limit(struct session_database *sdb,
         }
         if (!s)
         {
-            yaz_log(YLOG_WARN, "limit %s used, but no limitmap defined",
-                    name);
+            yaz_log(YLOG_WARN, "Target %s: limit %s used, but no limitmap defined",
+                    (sdb->database ? sdb->database->url : "<no url>"), name);
         }
     }
 }