diff options
author | Ross Burton <ross@linux.intel.com> | 2009-02-10 17:24:47 +0000 |
---|---|---|
committer | Ross Burton <ross@linux.intel.com> | 2009-02-10 17:24:47 +0000 |
commit | 1a8b74af77071ab484c1f7b75e0383b5c53bc28d (patch) | |
tree | c67ff53fc33fc12b16e4cc08897fbdd2fb958677 /tests | |
parent | ae5a098159b40b741ab5030f880225249672384d (diff) | |
download | librest-1a8b74af77071ab484c1f7b75e0383b5c53bc28d.tar.gz |
Use g_strcmp0 instead of strcmp
Diffstat (limited to 'tests')
-rw-r--r-- | tests/proxy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/proxy.c b/tests/proxy.c index cd3edd8..dd063fa 100644 --- a/tests/proxy.c +++ b/tests/proxy.c @@ -154,7 +154,7 @@ echo_test (RestProxy *proxy) errors++; return; } - if (strcmp ("echome", rest_proxy_call_get_payload (call)) != 0) { + if (g_strcmp0 ("echome", rest_proxy_call_get_payload (call)) != 0) { g_printerr ("wrong string returned\n"); errors++; return; @@ -189,7 +189,7 @@ reverse_test (RestProxy *proxy) errors++; return; } - if (strcmp ("emesrever", rest_proxy_call_get_payload (call)) != 0) { + if (g_strcmp0 ("emesrever", rest_proxy_call_get_payload (call)) != 0) { g_printerr ("wrong string returned\n"); errors++; return; |