- Yet more debug. This should allow me to test locally.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32446 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Bruno G. Albuquerque 2009-08-16 18:35:01 +00:00
parent 72813d6ebd
commit cd75ca52e7
1 changed files with 3 additions and 1 deletions

View File

@ -118,7 +118,7 @@ CDDBServer::Query(uint32 cddbId, const scsi_toc_toc* toc, BList* queryResponse)
printf("Error : CDDB server status code is %s.\n",
statusCode.String());
} else {
printf("Error. Could not find any status code.\n");
printf("Error : Could not find any status code.\n");
}
return B_ERROR;
@ -377,6 +377,8 @@ CDDBServer::_SendCddbCommand(const BString& command, BString* output)
// And now add command header and footer.
fullCommand.Prepend("GET /~cddb/cddb.cgi?cmd=");
fullCommand << " HTTP 1.0\n\n";
printf("%s\n", fullCommand.String());
int32 result = fConnection.Send((void*)fullCommand.String(),
fullCommand.Length());