1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/dfs_server
Andreas Schneider 0c6fb4bfb0 dfs_server: Fix debug statement if searched_site is NULL
In file included from source4/include/includes.h:61,
                 from dfs_server/dfs_server_ad.c:21:
dfs_server/dfs_server_ad.c: In function ‘get_dcs.constprop’:
lib/util/debug.h:200:12: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
  200 |        && (dbgtext body) )
      |           ~^~~~~~~~~~~~~
dfs_server/dfs_server_ad.c:462:25: note: in expansion of macro ‘DEBUG’
  462 |                         DEBUG(2,(__location__ ": Site: %s %s\n",
      |                         ^~~~~

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-04-27 07:21:33 +00:00
..
dfs_server_ad.c dfs_server: Fix debug statement if searched_site is NULL 2023-04-27 07:21:33 +00:00
dfs_server_ad.h dfs_server: add generic dfs_server_ad_get_referrals() call 2011-10-08 01:43:38 +02:00
wscript_build dfs_server: Only build in case we build an AD DC too. 2014-11-26 09:51:05 +01:00