diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | ChangeLog.ja | 2 | ||||
-rw-r--r-- | src/syldap.c | 4 |
3 files changed, 6 insertions, 2 deletions
@@ -1,6 +1,8 @@ 2007-12-17 * src/syldap.c: fixed memory leaks (thanks to Michael Schwendt). + syldap_display_search_results(): fixed warnings (thanks to Michael + Schwendt). 2007-12-07 diff --git a/ChangeLog.ja b/ChangeLog.ja index c65afad5..e97757f0 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -1,6 +1,8 @@ 2007-12-17 * src/syldap.c: メモリリークを修正(Michael Schwendt さん thanks)。 + syldap_display_search_results(): 警告を修正 (Michael Schwendt さん + thanks)。 2007-12-07 diff --git a/src/syldap.c b/src/syldap.c index 1475519f..c8930112 100644 --- a/src/syldap.c +++ b/src/syldap.c @@ -637,7 +637,7 @@ gint syldap_search( SyldapServer *ldapServer ) { /* syldap_display_search_results() - updates the ui. this function is called from the * main thread (the thread running the GTK event loop). */ -static gint syldap_display_search_results(SyldapServer *ldapServer) +static gboolean syldap_display_search_results(SyldapServer *ldapServer) { /* NOTE: when this function is called the accompanying thread should * already be terminated. */ @@ -646,7 +646,7 @@ static gint syldap_display_search_results(SyldapServer *ldapServer) /* FIXME: match should know whether to free this SyldapServer stuff. */ g_free(ldapServer->thread); ldapServer->thread = NULL; - return TRUE; + return FALSE; } /* ============================================================================================ */ |