]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/vandelay/serv_vandelay.c
Completed artv import/export of openids
[citadel.git] / 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;