some stderr output on error

This commit is contained in:
josch
2014-09-23 20:52:30 +02:00
parent 7e4717c18f
commit 6e546fa3f3
2 changed files with 7 additions and 2 deletions

View File

@@ -66,8 +66,10 @@ mfconn *mfconn_create(const char *server, const char *username,
if (retval == 0)
return conn;
else
else {
fprintf(stderr, "error: mfconn_api_user_get_session_token\n");
return NULL;
}
}
void mfconn_destroy(mfconn * conn)