From 04675d9ba814b779d0bbf71eceacb6997ec2818c Mon Sep 17 00:00:00 2001 From: Eliot Whalan Date: Fri, 24 Jun 2016 15:33:14 +1000 Subject: [PATCH] Fixup missing return value --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index c0c1dd8..335cbfd 100644 --- a/main.go +++ b/main.go @@ -222,7 +222,7 @@ func getPaste(paste string, lang string) (string, string) { check(err) if err == sql.ErrNoRows { - return "Error invalid paste" + return "Error invalid paste", "" } else { if lang == "" { return html.UnescapeString(s), title