Commit faff0f5f authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Remove a debugging printf.

2005-10-17  Matthias Clasen  <mclasen@redhat.com>

	* xdgmime.c (xdg_mime_get_mime_type_for_file): Remove
	a debugging printf.
parent 4375d332
2005-10-17 Matthias Clasen <mclasen@redhat.com>
* xdgmime.c (xdg_mime_get_mime_type_for_file): Remove
a debugging printf.
2005-09-01 Matthias Clasen <mclasen@redhat.com>
* xdgmime.h:
......
......@@ -481,8 +481,6 @@ xdg_mime_get_mime_type_for_file (const char *file_name,
statbuf = &buf;
}
else
printf ("don't restat\n");
if (!S_ISREG (statbuf->st_mode))
return XDG_MIME_TYPE_UNKNOWN;
......@@ -495,7 +493,7 @@ xdg_mime_get_mime_type_for_file (const char *file_name,
if (data == NULL)
return XDG_MIME_TYPE_UNKNOWN;
file = fopen (file_name, "r");
file = fopen (file_name, "r");
if (file == NULL)
{
free (data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment