Put a missing NULL character to clear the string

Fork of PubNub by PubNub

Revision:
4:a4759c403023
Parent:
3:36f064f7bdf0
Child:
5:cfcba723d245
diff -r 36f064f7bdf0 -r a4759c403023 PubNub.h
--- a/PubNub.h	Sun Mar 02 01:47:11 2014 +0000
+++ b/PubNub.h	Sun Mar 02 01:48:40 2014 +0000
@@ -166,7 +166,7 @@
         if (p.history("demo", &reply, &replysize) != PNR_OK) return;
         if (!reply) return;
         for (char *msg = reply; msg < reply + replysize; msg += strlen(msg)+1)
-            printf("historic message: %s", msg);
+            printf("historic message: %s\n", msg);
         free(reply);
      * @endcode
      *