From: Fredrik Tolf Date: Mon, 13 Aug 2007 03:38:52 +0000 (+0200) Subject: Slight updates. X-Git-Tag: 1.0~77 X-Git-Url: http://git.dolda2000.com/gitweb/?p=doldaconnect.git;a=commitdiff_plain;h=e5c8b0ca6215e635b774a5a4e60181e38c33480b Slight updates. --- 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));