aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCornelius Gati <cgati@cfelsgi.desy.de>2013-02-19 13:53:29 +0100
committerCornelius Gati <cgati@cfelsgi.desy.de>2013-02-19 13:53:29 +0100
commit215b3b17d9d93391b25cafb4a624cd0e6aeab595 (patch)
tree5f8740400b78bdd3de3afd5e1548b80421ce6eeb
parent8eb104ce1ee5a7acb46dfb8ea18c6cc08ed7b11b (diff)
parentc405aff4e58e742c488c606fdc11dd64ebe8f249 (diff)
Merge branch 'tom/multicrystal' into cornelius/xds
-rw-r--r--src/im-sandbox.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c
index 5d42d17d..d393c356 100644
--- a/src/im-sandbox.c
+++ b/src/im-sandbox.c
@@ -193,6 +193,8 @@ static void process_image(const struct index_args *iargs,
/* Prefix to jump out of temporary folder */
if ( pargs->filename[0] != '/' ) {
snprintf(filename, 1023, "../../%s", pargs->filename);
+ } else {
+ snprintf(filename, 1023, "%s", pargs->filename);
}
image.features = NULL;