summaryrefslogtreecommitdiff
path: root/data.c
diff options
context:
space:
mode:
Diffstat (limited to 'data.c')
-rw-r--r--data.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/data.c b/data.c
index 3780fd0..f8be1ff 100644
--- a/data.c
+++ b/data.c
@@ -44,7 +44,7 @@ void data_add_roster_item(const char* jid, const char* subscription,
} else if (strcmp(subscription, "both") == 0) {
item->sub = SUB_BOTH;
} else {
- printf("Invalid subscription '%s'!\n", subscription);
+ fprintf(stderr, "Invalid subscription '%s'!\n", subscription);
return;
}
item->chat = chat;
@@ -78,7 +78,7 @@ void data_add_incoming_message(const char* sender_jid, const char* content) {
}
}
if (chat == NULL) {
- printf("Could not find chat for message from '%s'!\n", sender_jid);
+ fprintf(stderr, "Could not find chat for message from '%s'!\n", sender_jid);
return;
}