aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/config/soloscli/patches/.svn/text-base/001-newline.patch.svn-base
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/config/soloscli/patches/.svn/text-base/001-newline.patch.svn-base')
-rw-r--r--package/network/config/soloscli/patches/.svn/text-base/001-newline.patch.svn-base15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/network/config/soloscli/patches/.svn/text-base/001-newline.patch.svn-base b/package/network/config/soloscli/patches/.svn/text-base/001-newline.patch.svn-base
new file mode 100644
index 0000000..4b663e8
--- /dev/null
+++ b/package/network/config/soloscli/patches/.svn/text-base/001-newline.patch.svn-base
@@ -0,0 +1,15 @@
+--- a/soloscli/soloscli.c
++++ b/soloscli/soloscli.c
+@@ -238,7 +238,11 @@
+ }
+ if (strcmp(buf,pid) == 0) {
+ /* printf("Sequence matches.\n"); */
+- printf("%s",bufp);
++ if(buf[(len-1)] == '\n'){
++ printf("%s",bufp);
++ } else {
++ printf("%s\n",bufp);
++ }
+ } else {
+ printf("Sequence incorrect.\n");
+ buf[i] = '\n';