Completed artv import/export of openids
authorArt Cancro <ajc@citadel.org>
Mon, 2 Jun 2008 15:14:05 +0000 (15:14 +0000)
committerArt Cancro <ajc@citadel.org>
Mon, 2 Jun 2008 15:14:05 +0000 (15:14 +0000)
citadel/modules/vandelay/serv_vandelay.c

index aeaf81ece5cd0faf198ce9dd4965a86afa19034e..e937f3194722698f5ddf0aeb844f889f8ca4ebc2 100644 (file)
@@ -511,7 +511,6 @@ void artv_do_export(void) {
                artv_export_visits();
        if (Ctx->kill_me != 1)
                artv_export_messages();
-
        client_write("000\n", 4);
 }
 
@@ -717,8 +716,8 @@ void artv_import_openid(void) {
        char *data;
        int data_len;
 
-       client_getln(buf, sizeof buf);  usernum = atol(buf);
        client_getln(openid, sizeof openid);
+       client_getln(buf, sizeof buf);  usernum = atol(buf);
        if (IsEmptyStr(openid)) return;
 
        data_len = sizeof(long) + strlen(openid) + 1;