]> mj.ucw.cz Git - libucw.git/blobdiff - lib/fb-temp.c
UTF8_SPACE turned to an inline function.
[libucw.git] / lib / fb-temp.c
index a537dd934f7b7541068b006014f0c559bedf6f79..f7b14483e172bca0b172e5c1b5373093a50e45e6 100644 (file)
@@ -28,14 +28,14 @@ static void CONSTRUCTOR temp_init_config(void)
 }
 
 struct fastbuf *
-bopen_tmp(uns bufsize)
+bopen_tmp(uns buflen)
 {
   byte buf[256];
   struct fastbuf *f;
   static uns temp_counter;
 
   sprintf(buf, temp_template, (int) getpid(), temp_counter++);
-  f = bopen(buf, O_RDWR | O_CREAT | O_TRUNC, bufsize);
+  f = bopen(buf, O_RDWR | O_CREAT | O_TRUNC, buflen);
   bconfig(f, BCONFIG_IS_TEMP_FILE, 1);
   return f;
 }