diff options
Diffstat (limited to '')
-rwxr-xr-x | daemon/string.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/daemon/string.c b/daemon/string.c index 6684664..5dd6a45 100755 --- a/daemon/string.c +++ b/daemon/string.c @@ -108,9 +108,9 @@ struct string* string_printf( gchar* fmt, ... ) return s; } -int string_compare( struct string* s1, struct string* s2 ) +gboolean string_equal( struct string* s1, struct string* s2 ) { if( s1 == s2 ) - return 0; - return strcmp( s1->gstr->str, s2->gstr->str ); + return TRUE; + return g_string_equal( s1->gstr, s2->gstr ); } |