summaryrefslogtreecommitdiff
path: root/spooler.go
diff options
context:
space:
mode:
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)