Slight updates.
authorFredrik Tolf <fredrik@dolda2000.com>
Mon, 13 Aug 2007 03:38:52 +0000 (05:38 +0200)
committerFredrik Tolf <fredrik@dolda2000.com>
Mon, 13 Aug 2007 03:38:52 +0000 (05:38 +0200)
clients/test.c
lib/uimisc.c

index f5e6cbd..04f471c 100644 (file)
@@ -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);
index 014e61c..6a30ffa 100644 (file)
@@ -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));