2010-10-24 13:46:32 +00:00
|
|
|
--- a/soloscli/soloscli.c
|
|
|
|
+++ b/soloscli/soloscli.c
|
2011-06-02 14:38:01 +00:00
|
|
|
@@ -238,7 +238,11 @@
|
2010-10-24 13:46:32 +00:00
|
|
|
}
|
|
|
|
if (strcmp(buf,pid) == 0) {
|
|
|
|
/* printf("Sequence matches.\n"); */
|
|
|
|
- printf("%s",bufp);
|
2011-06-02 14:38:01 +00:00
|
|
|
+ if(buf[(len-1)] == '\n'){
|
|
|
|
+ printf("%s",bufp);
|
|
|
|
+ } else {
|
|
|
|
+ printf("%s\n",bufp);
|
|
|
|
+ }
|
2010-10-24 13:46:32 +00:00
|
|
|
} else {
|
|
|
|
printf("Sequence incorrect.\n");
|
|
|
|
buf[i] = '\n';
|