summaryrefslogtreecommitdiffstats
path: root/examples/example1.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example1.c')
-rw-r--r--examples/example1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/example1.c b/examples/example1.c
index ffbc3e0..90d0072 100644
--- a/examples/example1.c
+++ b/examples/example1.c
@@ -49,9 +49,9 @@ int main() {
if (strlen(buf)<2) break;
recoded = rccRecode(NULL, 0, 1, buf);
if (recoded) {
- printf(recoded);
+ printf("%s", recoded);
free(recoded);
- } else printf(buf);
+ } else printf("%s", buf);
}
rccFree();