]> code.citadel.org Git - citadel.git/blobdiff - citadel/serv_newuser.c
* added a comment infront of the svn modifieable returns. Now it will be me listed...
[citadel.git] / citadel / serv_newuser.c
index 5cc13e9cbebecda9d181e5baa10482c7bc819728..ffde5e3b2f742f5f1c12b887c5539f664e5fa03d 100644 (file)
@@ -59,7 +59,6 @@ void CopyNewUserGreetings(void) {
        struct cdbdata *cdbfr;
        long *msglist = NULL;
        int num_msgs = 0;
-       int i;
        char mailboxname[ROOMNAMELEN];
 
 
@@ -85,9 +84,7 @@ void CopyNewUserGreetings(void) {
        }
 
        if (num_msgs > 0) {
-               for (i = 0; i < num_msgs; ++i) {
-                       CtdlCopyMsgToRoom(msglist[i], mailboxname);
-               }
+               CtdlCopyMsgsToRoom(msglist, num_msgs, mailboxname);
        }
 
        /* Now free the memory we used, and go away. */
@@ -98,5 +95,7 @@ void CopyNewUserGreetings(void) {
 char *serv_newuser_init(void)
 {
    CtdlRegisterSessionHook(CopyNewUserGreetings, EVT_LOGIN);
+
+   /* return our Subversion id for the Log */
    return "$Id$";
 }