summaryrefslogtreecommitdiff
path: root/src/ft-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft-manager.c')
-rw-r--r--src/ft-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft-manager.c b/src/ft-manager.c
index 5156eabf..f0edfbee 100644
--- a/src/ft-manager.c
+++ b/src/ft-manager.c
@@ -363,7 +363,7 @@ salut_ft_manager_handle_request (TpChannelManager *manager,
}
else
{
- if (content_hash_type >= NUM_TP_FILE_HASH_TYPES)
+ if (content_hash_type >= TP_NUM_FILE_HASH_TYPES)
{
g_set_error (&error, TP_ERROR, TP_ERROR_INVALID_ARGUMENT,
"%u is not a valid ContentHashType", content_hash_type);