svn commit: samba r22091 - in branches: SAMBA_3_0/source/libsmb
SAMBA_3_0_25/source/libsmb
vlendec at samba.org
vlendec at samba.org
Thu Apr 5 11:13:26 GMT 2007
Author: vlendec
Date: 2007-04-05 11:13:25 +0000 (Thu, 05 Apr 2007)
New Revision: 22091
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22091
Log:
Fix an uninitialized variable warning
Modified:
branches/SAMBA_3_0/source/libsmb/samlogon_cache.c
branches/SAMBA_3_0_25/source/libsmb/samlogon_cache.c
Changeset:
Modified: branches/SAMBA_3_0/source/libsmb/samlogon_cache.c
===================================================================
--- branches/SAMBA_3_0/source/libsmb/samlogon_cache.c 2007-04-05 07:37:21 UTC (rev 22090)
+++ branches/SAMBA_3_0/source/libsmb/samlogon_cache.c 2007-04-05 11:13:25 UTC (rev 22091)
@@ -59,7 +59,6 @@
***********************************************************************/
void netsamlogon_clear_cached_user(TDB_CONTEXT *tdb, NET_USER_INFO_3 *user)
{
- TDB_DATA key;
BOOL got_tdb = False;
DOM_SID sid;
fstring key_str, sid_string;
@@ -93,7 +92,7 @@
fstr_sprintf(key_str, "UG/%s", sid_to_string(sid_string, &sid));
- DEBUG(10, ("netsamlogon_clear_cached_user: clearing %s\n", key.dptr));
+ DEBUG(10, ("netsamlogon_clear_cached_user: clearing %s\n", key_str));
tdb_delete(tdb, string_tdb_data(key_str));
Modified: branches/SAMBA_3_0_25/source/libsmb/samlogon_cache.c
===================================================================
--- branches/SAMBA_3_0_25/source/libsmb/samlogon_cache.c 2007-04-05 07:37:21 UTC (rev 22090)
+++ branches/SAMBA_3_0_25/source/libsmb/samlogon_cache.c 2007-04-05 11:13:25 UTC (rev 22091)
@@ -59,7 +59,6 @@
***********************************************************************/
void netsamlogon_clear_cached_user(TDB_CONTEXT *tdb, NET_USER_INFO_3 *user)
{
- TDB_DATA key;
BOOL got_tdb = False;
DOM_SID sid;
fstring key_str, sid_string;
@@ -93,7 +92,7 @@
fstr_sprintf(key_str, "UG/%s", sid_to_string(sid_string, &sid));
- DEBUG(10, ("netsamlogon_clear_cached_user: clearing %s\n", key.dptr));
+ DEBUG(10, ("netsamlogon_clear_cached_user: clearing %s\n", key_str));
tdb_delete(tdb, string_tdb_data(key_str));
More information about the samba-cvs
mailing list