Permalink
Browse files

Clean up output.

  • Loading branch information...
1 parent 807d802 commit ded22874d9aabff948a240b08b393b0be9787490 @smerrill committed Oct 24, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 memcached.c
View
4 memcached.c
@@ -31,11 +31,11 @@ int main(int argc, char **argv) {
fprintf(stderr, "Couldn't store key: %s\n", memcached_strerror(memc, rc));
retrieved_value = memcached_get(memc, key, strlen(key), &value_length, &flags, &rc);
- printf("Yay!");
+ printf("Yay!\n");
if (rc == MEMCACHED_SUCCESS) {
fprintf(stderr, "Key retrieved successfully\n");
- printf("The key '%s' returned value '%s'.", key, retrieved_value);
+ printf("The key '%s' returned value '%s'.\n", key, retrieved_value);
free(retrieved_value);
}
else

0 comments on commit ded2287

Please sign in to comment.