Skip to content

Commit b2638bf

Browse files
mpenickbovine
andauthored
Update tests/src/unit/tests/test_connection.cpp
Co-authored-by: Jeff Lawson <jeff@bovine.net>
1 parent d15e5ee commit b2638bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/src/unit/tests/test_connection.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ String current_dir()
4747
{
4848
char buffer[256];
4949
#ifdef _WIN32
50-
_getcwd(buffer, 256);
50+
_getcwd(buffer, sizeof(buffer));
5151
#else
52-
getcwd(buffer, 256);
52+
getcwd(buffer, sizeof(buffer));
5353
#endif
5454
return buffer;
5555
}

0 commit comments

Comments
 (0)