Explorar o código

* Disable idx in stream_writeuserfile for now to work around regression

Bryan Drewery %!s(int64=14) %!d(string=hai) anos
pai
achega
79c4156398
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/userrec.c

+ 1 - 0
src/userrec.c

@@ -459,6 +459,7 @@ static void sort_userlist()
 }
 
 void stream_writeuserfile(bd::Stream& stream, const struct userrec *bu, int idx, bool old) {
+  idx = -1;
   time_t tt = now;
   char s1[81] = "";