Remove excessive logging.

This commit is contained in:
Michael Drake 2014-04-18 17:30:28 +01:00
parent d1223950d7
commit 2c4825cb38
2 changed files with 2 additions and 3 deletions

View File

@ -2098,7 +2098,7 @@ void ro_gui_view_source(hlcache_handle *c)
warn_user("NoMemory", 0); warn_user("NoMemory", 0);
return; return;
} }
LOG(("Generated file name: \"%s\"", filename));
snprintf(full_name, 256, "%s/%s", TEMP_FILENAME_PREFIX, snprintf(full_name, 256, "%s/%s", TEMP_FILENAME_PREFIX,
filename); filename);
full_name[255] = '\0'; full_name[255] = '\0';
@ -2109,7 +2109,7 @@ void ro_gui_view_source(hlcache_handle *c)
return; return;
} }
message.file_name[211] = '\0'; message.file_name[211] = '\0';
LOG(("RISC OS-ified file name: \"%s\"", message.file_name));
error = xosfile_save_stamped(message.file_name, error = xosfile_save_stamped(message.file_name,
ro_content_filetype(c), ro_content_filetype(c),
(byte *) source_data, (byte *) source_data,

View File

@ -179,7 +179,6 @@ bool filename_initialise(void)
directory = strdup(TEMP_FILENAME_PREFIX); directory = strdup(TEMP_FILENAME_PREFIX);
if (directory == NULL) if (directory == NULL)
return false; return false;
LOG(("Create directory path \"%s\"", directory));
for (start = directory; *start != '\0'; start++) { for (start = directory; *start != '\0'; start++) {
if (*start == '/') { if (*start == '/') {