summaryrefslogtreecommitdiff
path: root/spooler.go
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2017-08-07 10:54:35 +0100
committerKatolaZ <katolaz@freaknet.org>2017-08-07 10:54:35 +0100
commitb31fe15e0d13f9064e26b117541633496c0c3307 (patch)
treead9fc1e3077b514c98af1d6a2cbd78e79f341c9f /spooler.go
parent096b3fd2867d7bb2d3cd1f85d8806c651b26d625 (diff)
Renaming: "tags" -> "commands"; "commands" -> "actions"
Diffstat (limited to 'spooler.go')
-rw-r--r--spooler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/spooler.go b/spooler.go
index 3629bef..59a7e98 100644
--- a/spooler.go
+++ b/spooler.go
@@ -18,7 +18,7 @@ func parseRequest(fname string, msg *spoolMsg) error {
data, err := ioutil.ReadFile(fname)
if err != nil {
log.Printf("Unable to open file: %s\n", fname)
- return SCORSHerr(SCORSH_ERR_NO_FILE)
+ return SCORSHerr(errNoFile)
}
debug.log("[parseRequest] file contains: \n%s\n", data)