summaryrefslogtreecommitdiff
path: root/search.php
diff options
context:
space:
mode:
authorJoe Robinson <joe@lc8n.com>2015-12-07 00:31:58 +0000
committerJoe Robinson <joe@lc8n.com>2015-12-07 00:31:58 +0000
commitdcfca35dd4a41977e040e43c1dcca9ac527dac39 (patch)
tree3474ed864b4a903776f148ab7c859c8e6daf5bef /search.php
parent47cb1f271fcfe28a1e8cd4184f7820e6d7f30dd0 (diff)
Add newline to end of output
Diffstat (limited to 'search.php')
-rw-r--r--search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/search.php b/search.php
index bb98c40..d68beec 100644
--- a/search.php
+++ b/search.php
@@ -126,5 +126,5 @@ function read_stdin()
$input = fgets($fr,128); // read a maximum of 128 characters
$input = rtrim($input); // trim any trailing spaces.
fclose ($fr); // close the file handle
- return $input; // return the text entered
+ return $input . "\n"; // return the text entered
}