From 749314fcf99cef4a1a162d622e10b6eb8998938f Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 14 Jun 2012 20:30:16 +0200 Subject: dbwrap: dbwrap_store_int32->dbwrap_store_int32_bystring Signed-off-by: Michael Adam --- source3/lib/sharesec.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'source3/lib') diff --git a/source3/lib/sharesec.c b/source3/lib/sharesec.c index b53190d488d..978edf2ece9 100644 --- a/source3/lib/sharesec.c +++ b/source3/lib/sharesec.c @@ -192,8 +192,8 @@ bool share_info_db_init(void) if ((vers_id == SHARE_DATABASE_VERSION_V1) || (IREV(vers_id) == SHARE_DATABASE_VERSION_V1)) { /* Written on a bigendian machine with old fetch_int code. Save as le. */ - status = dbwrap_store_int32(share_db, vstring, - SHARE_DATABASE_VERSION_V2); + status = dbwrap_store_int32_bystring( + share_db, vstring, SHARE_DATABASE_VERSION_V2); if (!NT_STATUS_IS_OK(status)) { DEBUG(0, ("dbwrap_store_int32 failed: %s\n", nt_errstr(status))); @@ -208,8 +208,8 @@ bool share_info_db_init(void) DEBUG(0, ("traverse failed\n")); goto cancel; } - status = dbwrap_store_int32(share_db, vstring, - SHARE_DATABASE_VERSION_V2); + status = dbwrap_store_int32_bystring( + share_db, vstring, SHARE_DATABASE_VERSION_V2); if (!NT_STATUS_IS_OK(status)) { DEBUG(0, ("dbwrap_store_int32 failed: %s\n", nt_errstr(status))); @@ -224,8 +224,8 @@ bool share_info_db_init(void) DEBUG(0, ("traverse failed\n")); goto cancel; } - status = dbwrap_store_int32(share_db, vstring, - SHARE_DATABASE_VERSION_V3); + status = dbwrap_store_int32_bystring( + share_db, vstring, SHARE_DATABASE_VERSION_V3); if (!NT_STATUS_IS_OK(status)) { DEBUG(0, ("dbwrap_store_int32 failed: %s\n", nt_errstr(status))); -- cgit