diff options
author | Volker Lendecke <vl@samba.org> | 2012-06-14 20:30:16 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2012-06-15 12:14:27 +0200 |
commit | 749314fcf99cef4a1a162d622e10b6eb8998938f (patch) | |
tree | edb8bf82c76fb96ee4a125f147e33273641416fd /source3/lib | |
parent | 737c0a54731803c84f0f29d96dd40ac819aec3e8 (diff) | |
download | samba-749314fcf99cef4a1a162d622e10b6eb8998938f.tar.gz samba-749314fcf99cef4a1a162d622e10b6eb8998938f.tar.bz2 samba-749314fcf99cef4a1a162d622e10b6eb8998938f.zip |
dbwrap: dbwrap_store_int32->dbwrap_store_int32_bystring
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/sharesec.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/lib/sharesec.c b/source3/lib/sharesec.c index b53190d488..978edf2ece 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))); |