fixed bug when reporting hash of files during rhizome extract file.

This commit is contained in:
gardners 2012-12-07 13:57:26 +10:30
parent 4b73e42bed
commit be9cefc5ba

View File

@ -1569,7 +1569,7 @@ int rhizome_retrieve_file(const char *fileid, const char *filepath, const unsign
} else {
length = sqlite3_blob_bytes(blob);
cli_puts("filehash"); cli_delim(":");
cli_puts((const char *)sqlite3_column_text(statement, 0)); cli_delim("\n");
cli_puts(fileIdUpper); cli_delim("\n");
cli_puts("filesize"); cli_delim(":");
cli_printf("%lld", length); cli_delim("\n");
ret = 1;