soloscli: upgrade to 1.04
[openwrt/staging/chunkeey.git] / package / network / config / soloscli / patches / 001-newline.patch
diff --git a/package/network/config/soloscli/patches/001-newline.patch b/package/network/config/soloscli/patches/001-newline.patch
deleted file mode 100644 (file)
index 4b663e8..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
---- 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';