]> code.citadel.org Git - citadel.git/blobdiff - webcit/preferences.c
Removed some spurious trace messages
[citadel.git] / webcit / preferences.c
index 87026fe8b5dfd91d588d78e42fa05d474812787d..543c97ae367a6867f8846327b7e24d034bdaf288 100644 (file)
@@ -1,28 +1,21 @@
 /*
  * $Id$
- */
-/**
- * \defgroup ManagePrefs Manage user preferences with a little help from the Citadel server.
- * \ingroup CitadelConfig
+ *
+ * Manage user preferences with a little help from the Citadel server.
  *
  */
-/*@{*/
+
 #include "webcit.h"
 #include "webserver.h"
 #include "groupdav.h"
 
-
-//// tmp
-#include <stdio.h>
-
-/**
- * \brief display preferences dialog
+/*
+ * display preferences dialog
  */
 void load_preferences(void) {
        char buf[SIZ];
        long msgnum = 0L;
        char key[SIZ], value[SIZ];
-       char *pBuf;
        
        serv_printf("GOTO %s", USERCONFIGROOM);
        serv_getln(buf, sizeof buf);
@@ -56,7 +49,7 @@ void load_preferences(void) {
                }
        }
 
-       /** Go back to the room we're supposed to be in */
+       /* Go back to the room we're supposed to be in */
        serv_printf("GOTO %s", WC->wc_roomname);
        serv_getln(buf, sizeof buf);
 }
@@ -115,10 +108,8 @@ void save_preferences(void) {
                Hash = WC->hash_prefs;
                PrintHash(Hash);
                HashPos = GetNewHashPos();
-               printf("_______> writing entries\n");
                while (GetNextHashPos(Hash, HashPos, &len, &Key, (void**)&Value)!=0)
                {
-                       printf("__________>%s -> %s \n", Key, Value);
                        serv_printf("%s|%s", Key, Value);
                }
                serv_puts("");