diff options
Diffstat (limited to 'data.c')
-rw-r--r-- | data.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; } |