Explorar o código

Changed some expmem code in misc.c rearding auth

svn: 120
Bryan Drewery %!s(int64=23) %!d(string=hai) anos
pai
achega
51411ad355
Modificáronse 1 ficheiros con 4 adicións e 3 borrados
  1. 4 3
      src/misc.c

+ 4 - 3
src/misc.c

@@ -489,9 +489,10 @@ int expmem_misc()
 #endif
   tot += sizeof(struct auth_t) * max_auth;
 
-  for (i = 0; i < auth_total; i++) {
-    tot += sizeof(struct userrec);
-  }
+//  Wtf is this?
+//  for (i = 0; i < auth_total; i++) {
+//    tot += sizeof(struct userrec);
+//  }
 
   tot += strlen(binname) + 1;
   return tot + (max_logs * sizeof(log_t));