* locate_user_vcard_in_this_room() lost the ability to return the msgnum of the vcard...
[citadel.git] / webcit / preferences.c
index ac4fb3c483b4099e547591fe2f00c62059aa6954..0fdb07d41ee5eade9503ca503861136df23c1942 100644 (file)
@@ -247,23 +247,24 @@ void load_preferences(void)
        FreeStrBuf(&ReadBuf);
 }
 
-/**
- * \brief Goto the user's configuration room, creating it if necessary.
- * \return 0 on success or nonzero upon failure.
+/*
+ * Goto the user's configuration room, creating it if necessary.
+ * returns 0 on success or nonzero upon failure.
  */
 int goto_config_room(StrBuf *Buf) 
 {
        serv_printf("GOTO %s", USERCONFIGROOM);
        StrBuf_ServGetln(Buf);
-       if (GetServerStatus(Buf, NULL) != 2) { /* try to create the config room if not there */
+       if (GetServerStatus(Buf, NULL) != 2) {  /* try to create the config room if not there */
                serv_printf("CRE8 1|%s|4|0", USERCONFIGROOM);
                StrBuf_ServGetln(Buf);
                GetServerStatus(Buf, NULL);
 
                serv_printf("GOTO %s", USERCONFIGROOM);
                StrBuf_ServGetln(Buf);
-               if (GetServerStatus(Buf, NULL) != 2) 
+               if (GetServerStatus(Buf, NULL) != 2) {
                        return(1);
+               }
        }
        return(0);
 }