Explorar o código

* Fixme comments

svn: 193
Bryan Drewery %!s(int64=22) %!d(string=hai) anos
pai
achega
83bf50f12b
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      src/userent.c

+ 6 - 0
src/userent.c

@@ -464,6 +464,7 @@ int config_kill(struct user_entry *e)
   return 1;
   return 1;
 }
 }
 
 
+/* FIXME: possible expmem leak here */
 int config_expmem(struct user_entry *e)
 int config_expmem(struct user_entry *e)
 {
 {
   struct xtra_key *x;
   struct xtra_key *x;
@@ -779,6 +780,7 @@ static int laston_tcl_set(Tcl_Interp * irp, struct userrec *u,
   return TCL_OK;
   return TCL_OK;
 }
 }
 
 
+/* FIXME: possible expmem leak here */
 static int laston_expmem(struct user_entry *e)
 static int laston_expmem(struct user_entry *e)
 {
 {
   return sizeof(struct laston_info) +
   return sizeof(struct laston_info) +
@@ -986,6 +988,7 @@ static int botaddr_tcl_set(Tcl_Interp *irp, struct userrec *u,
   return TCL_OK;
   return TCL_OK;
 }
 }
 
 
+/* FIXME: possible expmem leak here */
 static int botaddr_expmem(struct user_entry *e)
 static int botaddr_expmem(struct user_entry *e)
 {
 {
   register struct bot_addr *bi = (struct bot_addr *) e->u.extra;
   register struct bot_addr *bi = (struct bot_addr *) e->u.extra;
@@ -1321,6 +1324,9 @@ static int xtra_tcl_get(Tcl_Interp *irp, struct userrec *u,
   return TCL_OK;
   return TCL_OK;
 }
 }
 
 
+/* FIXME: possible expmem leak here 
+ * also, ghost does not have xtra_ it was changed to config
+ */
 static int xtra_expmem(struct user_entry *e)
 static int xtra_expmem(struct user_entry *e)
 {
 {
   struct xtra_key *x;
   struct xtra_key *x;