]> granicus.if.org Git - curl/commitdiff
fix temp string buffer variable name
authorYang Tse <yangsita@gmail.com>
Tue, 30 Jan 2007 13:21:39 +0000 (13:21 +0000)
committerYang Tse <yangsita@gmail.com>
Tue, 30 Jan 2007 13:21:39 +0000 (13:21 +0000)
tests/libtest/lib537.c

index ebd100e502b448572bd2303d64eb3d95891f0bdb..6fd9c1097d825e2f8d5423a6d263fc4130e8f591 100644 (file)
@@ -356,9 +356,9 @@ static int rlimit(int keep_open)
    * with an indication that select limit would be exceeded.
    */
 
-  sprintf(strbuff2, fmt, num_open.rlim_max);
+  sprintf(strbuff1, fmt, num_open.rlim_max);
   sprintf(strbuff, "fds open %s > select limit %d",
-          strbuff2, FD_SETSIZE);
+          strbuff1, FD_SETSIZE);
   store_errmsg(strbuff, 0);
   fprintf(stderr, "%s\n", msgbuff);
   close_file_descriptors();