From 5282ce6d536fef379e55bb0c3bf2ee4ef3b5f6e6 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Wed, 13 Apr 2016 10:51:49 -0400 Subject: [PATCH] quickie function guess_image_content_type() to guess the content-type of an uploaded or imported photo based on the filename. We could eventually go with some sort of big global system for this but I wanted it to be fast and reliable for now. --- citadel/modules/image/serv_image.c | 1 - 1 file changed, 1 deletion(-) diff --git a/citadel/modules/image/serv_image.c b/citadel/modules/image/serv_image.c index 2c7647f3f..af2ddbd51 100644 --- a/citadel/modules/image/serv_image.c +++ b/citadel/modules/image/serv_image.c @@ -98,7 +98,6 @@ void cmd_ului(char *cmdbuf) } // Check to make sure the user exists - // FIXME do this struct ctdluser usbuf; if (CtdlGetUser(&usbuf, username) != 0) { // check for existing user, don't lock it yet cprintf("%d %s not found.\n", ERROR + NO_SUCH_USER , username); -- 2.30.2