Skip to content

Commit

Permalink
[client] Fix transfer progress display.
Browse files Browse the repository at this point in the history
  • Loading branch information
killing committed Dec 27, 2014
1 parent d78f5b5 commit eea7873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/rpc-service.c
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ seafile_find_transfer_task (const char *repo_id, GError *error)
return (GObject *)convert_task (task);

http_task = http_tx_manager_find_task (seaf->http_tx_mgr, repo_id);
if (task)
if (http_task)
return (GObject *)convert_http_task (http_task);

return NULL;
Expand Down

0 comments on commit eea7873

Please sign in to comment.