chiark
/
gitweb
/
~yarrgweb
/
ypp-sc-tools.main.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
approval works
[ypp-sc-tools.main.git]
/
pctb
/
convert.c
diff --git
a/pctb/convert.c
b/pctb/convert.c
index 6f40f94cd0c5cc7d1772a1d4cee9d78047b5539c..950300b588d1cc7e1e7fe9afc5409f0c4084c8d2 100644
(file)
--- a/
pctb/convert.c
+++ b/
pctb/convert.c
@@
-82,6
+82,9
@@
static void open_screenshot_file(const char *mode) {
if (!screenshot_file)
fatal("could not open screenshots file `%s': %s",
o_screenshot_fn, strerror(errno));
if (!screenshot_file)
fatal("could not open screenshots file `%s': %s",
o_screenshot_fn, strerror(errno));
+
+ if ((o_flags & ff_upload) && !(o_flags & ff_testservers))
+ badusage("must not reuse screenshots for upload to live PCTB database");
}
static void run_analysis(void) {
}
static void run_analysis(void) {