Skip to content
Snippets Groups Projects
Commit 5fda4f2c authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Remove unused feh_strip_hostname function

parent 3bb7b940
No related branches found
No related tags found
No related merge requests found
......@@ -139,7 +139,6 @@ void feh_display_status(char stat);
void real_loadables_mode(int loadable);
void feh_reload_image(winwidget w, int resize, int force_new);
void feh_filelist_image_remove(winwidget winwid, char do_delete);
char *feh_strip_hostname(char *url);
void slideshow_save_image(winwidget win);
void feh_edit_inplace_orient(winwidget w, int orientation);
void feh_edit_inplace_lossless_rotate(winwidget w, int orientation);
......
......@@ -316,31 +316,6 @@ char *feh_http_load_image(char *url)
#endif /* HAVE_LIBCURL */
char *feh_strip_hostname(char *url)
{
char *ret;
char *start;
char *finish;
int len;
start = strchr(url, '/');
if (!start)
return(NULL);
start += 2;
finish = strchr(start, '/');
if (!finish)
return(NULL);
len = finish - start;
ret = emalloc(len + 1);
strncpy(ret, start, len);
ret[len] = '\0';
return(ret);
}
void feh_draw_zoom(winwidget w)
{
static Imlib_Font fn = NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment