summaryrefslogtreecommitdiff
path: root/local.go
diff options
context:
space:
mode:
Diffstat (limited to 'local.go')
-rw-r--r--local.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/local.go b/local.go
index bc9fafb..5e21b19 100644
--- a/local.go
+++ b/local.go
@@ -81,6 +81,7 @@ func (a *LocalConn) CheckQueue(url string, timeout int64) (Qmsg, error) {
if err != nil && err != io.EOF {
return Qmsg{}, err
}
+ s = strings.TrimSpace(s)
return Qmsg{Body: s, Handle: s}, nil
}