X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=webcit%2Fnotes.c;h=a3afe01809839e887753fe0bc4a5cd2de43830e7;hb=13a333a6688fabc1f2159f3ba1c08e008183328e;hp=3896d11cfe21588ca2e3d2bb8110dd36966412dd;hpb=546f664215502e0ba570f7b878cd599f06835422;p=citadel.git
diff --git a/webcit/notes.c b/webcit/notes.c
index 3896d11cf..a3afe0180 100644
--- a/webcit/notes.c
+++ b/webcit/notes.c
@@ -1,18 +1,16 @@
/*
* $Id$
+ *
*/
-/**
- * \defgroup StickyNotes Functions which handle "sticky notes"
- * \ingroup WebcitDisplayItems
- */
-/*@{*/
+
#include "webcit.h"
#include "groupdav.h"
#include "webserver.h"
-/**
- * \brief display sticky notes
- * \param msgnum the citadel mesage number
+/*
+ * display sticky notes
+ *
+ * msgnum = Message number on the local server of the note to be displayed
*/
void display_note(long msgnum, int unread)
{
@@ -23,7 +21,6 @@ void display_note(long msgnum, int unread)
int in_text = 0;
int i, len;
-// wprintf("\n");
serv_printf("MSG0 %ld", msgnum);
serv_getln(buf, sizeof buf);
if (buf[0] != '1') {
@@ -35,7 +32,7 @@ void display_note(long msgnum, int unread)
strcpy(eid, "");
while (serv_getln(buf, sizeof buf), strcmp(buf, "000")) {
- /** Fill the buffer */
+ /* Fill the buffer */
if ( (in_text) && (strlen(notetext) < SIZ-256) ) {
strcat(notetext, buf);
}
@@ -49,31 +46,28 @@ void display_note(long msgnum, int unread)
}
}
- /** Now sanitize the buffer */
+ /* Now sanitize the buffer */
len = strlen(notetext);
for (i=0; i\n");
wprintf ("\n");
}
else {
wprintf ("\n");
wprintf ("\n");
}
@@ -84,7 +78,7 @@ void display_note(long msgnum, int unread)
wprintf("%s
\n", msgnum, display_notetext);
}
- /** Offer in-place editing. */
+ /* Offer in-place editing. */
if (!IsEmptyStr(eid)) {
wprintf("");
+ }
+ }
+}