From de42f8880e49bc32825d13a4ba0c7ed6e4295b81 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 4 Jan 2014 21:15:52 +0000 Subject: Add a bunch of logging to try and help track down the issue with rawfile handling, sorry guys --- render/form.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'render/form.c') diff --git a/render/form.c b/render/form.c index 9ac52392e..fe18e4336 100644 --- a/render/form.c +++ b/render/form.c @@ -592,14 +592,15 @@ bool form_successful_controls(struct form *form, control->value : ""); success_new->rawfile = NULL; /* Retrieve the filename from the DOM annotation */ + LOG(("XYZZY: Attempting to retrieve data")); if (dom_node_get_user_data( control->node, corestring_dom___ns_key_file_name_node_data, &rawfile_temp) != DOM_NO_ERR) { - LOG(("unable to get rawfile")); + LOG(("XYZZY: unable to get rawfile")); goto no_memory; } - + LOG(("XYZZY: Got raw filename: %s", rawfile_temp)); if (rawfile_temp == NULL) { /* No annotation means the file was not */ -- cgit v1.2.3