mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Minor fixes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2330 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
144d1691d2
commit
6e8d999ca1
@ -194,11 +194,12 @@ xaccSessionBeginSQL (Session *sess, const char * dbname)
|
||||
|
||||
if (!sess) return NULL;
|
||||
|
||||
{
|
||||
#ifdef SQLHACK
|
||||
/* for testing the sql, just a hack, remove later ... */
|
||||
Backend * pgendNew (void);
|
||||
be = pgendNew ();
|
||||
}
|
||||
#endif
|
||||
|
||||
sess->backend = be;
|
||||
|
||||
if (be && be->session_begin) {
|
||||
|
@ -431,7 +431,7 @@ decode_md5_string(const char *string, unsigned char *data)
|
||||
return GUID_TRUE;
|
||||
}
|
||||
|
||||
const char *
|
||||
char *
|
||||
guid_to_string(const GUID * guid)
|
||||
{
|
||||
char *string = malloc(GUID_ENCODING_LENGTH+1);
|
||||
|
@ -73,7 +73,7 @@ void guid_new(GUID *guid);
|
||||
* always be 32 characters long. The returned string should be
|
||||
* freed when no longer needed.
|
||||
*/
|
||||
const char * guid_to_string(const GUID * guid);
|
||||
char * guid_to_string(const GUID * guid);
|
||||
|
||||
|
||||
/* Given a string, decode the id into the guid if guid is non-NULL.
|
||||
|
Loading…
Reference in New Issue
Block a user