From e5c8b0ca6215e635b774a5a4e60181e38c33480b Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Mon, 13 Aug 2007 05:38:52 +0200 Subject: [PATCH] Slight updates. --- clients/test.c | 2 +- lib/uimisc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/test.c b/clients/test.c index f5e6cbd..04f471c 100644 --- a/clients/test.c +++ b/clients/test.c @@ -39,7 +39,7 @@ int main(int argc, char **argv) if(!wcscmp(resp->cmdname, L".connect")) { printf("Connected: %i\n", resp->code); - if(resp->code == 200) + if(resp->code == 201) dc_loginasync(NULL, 1, NULL, authcallback, NULL); } dc_freeresp(resp); diff --git a/lib/uimisc.c b/lib/uimisc.c index 014e61c..6a30ffa 100644 --- a/lib/uimisc.c +++ b/lib/uimisc.c @@ -328,7 +328,7 @@ static int init_krb5(struct logindata *data) if(dc_gethostname() == NULL) { - message(1, "cannot use krb5 without a host name"); + message(1, "cannot use krb5 without a host name\n"); return(1); } krb = smalloc(sizeof(*krb)); -- 2.11.0