diff options
Diffstat (limited to 'atari/findfile.c')
-rw-r--r-- | atari/findfile.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/atari/findfile.c b/atari/findfile.c index 60b3ed510..89f858caf 100644 --- a/atari/findfile.c +++ b/atari/findfile.c @@ -37,7 +37,7 @@ char * local_file_to_url( const char * filename ) #define BACKSLASH 0x5C char * url; - LOG(("in: %s", filename)); + LOG("in: %s", filename); if( strlen(filename) <= 2){ return( NULL ); @@ -61,7 +61,7 @@ char * local_file_to_url( const char * filename ) free(fname_local); - LOG(("out: %s", url)); + LOG("out: %s", url); return( url ); #undef BACKSLASH @@ -87,10 +87,10 @@ char * atari_find_resource(char *buf, const char *filename, const char *def) { char *cdir = NULL; char t[PATH_MAX]; - LOG(("%s (def: %s)", filename, def )); + LOG("%s (def: %s)", filename, def); strcpy(t, NETSURF_GEM_RESPATH); strcat(t, filename); - LOG(("checking %s", (char*)&t)); + LOG("checking %s", (char *)&t); if (gemdos_realpath(t, buf) != NULL) { if (access(buf, R_OK) == 0) { return buf; @@ -98,7 +98,7 @@ char * atari_find_resource(char *buf, const char *filename, const char *def) } strcpy(t, "./"); strcat(t, filename); - LOG(("checking %s", (char*)&t)); + LOG("checking %s", (char *)&t); if (gemdos_realpath(t, buf) != NULL) { if (access(buf, R_OK) == 0) { return buf; @@ -110,7 +110,7 @@ char * atari_find_resource(char *buf, const char *filename, const char *def) strcpy(t, cdir); strcat(t, "/.netsurf/"); strcat(t, filename); - LOG(("checking %s", (char*)&t)); + LOG("checking %s", (char *)&t); if (gemdos_realpath(t, buf) != NULL) { if (access(buf, R_OK) == 0) return buf; @@ -122,19 +122,19 @@ char * atari_find_resource(char *buf, const char *filename, const char *def) if (gemdos_realpath(cdir, buf) != NULL) { strcat(buf, "/"); strcat(buf, filename); - LOG(("checking %s", (char*)&t)); + LOG("checking %s", (char *)&t); if (access(buf, R_OK) == 0) return buf; } } if (def[0] == '~') { snprintf(t, PATH_MAX, "%s%s", getenv("HOME"), def + 1); - LOG(("checking %s", (char*)&t)); + LOG("checking %s", (char *)&t); if (gemdos_realpath(t, buf) == NULL) { strcpy(buf, t); } } else { - LOG(("checking %s", (char*)def)); + LOG("checking %s", (char *)def); if (gemdos_realpath(def, buf) == NULL) { strcpy(buf, def); } |