Merge branch '1.1'
[jansson.git] / test / loads_dumps.c
index ab8db1a..fefe1ba 100644 (file)
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) 2009 Petri Lehtinen <petri@digip.org>
+ *
+ * Jansson is free software; you can redistribute it and/or modify
+ * it under the terms of the MIT license. See LICENSE for details.
+ */
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <jansson.h>
@@ -19,8 +26,8 @@ int main(int argc, char *argv[])
 
     count = fread(buffer, 1, BUFFER_SIZE, stdin);
     if(count < 0 || count >= BUFFER_SIZE) {
-      fprintf(stderr, "unable to read input\n");
-      return 1;
+        fprintf(stderr, "unable to read input\n");
+        return 1;
     }
     buffer[count] = '\0';