summaryrefslogtreecommitdiffstats
path: root/nsprpub/pr/tests/libfilename.c
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2020-01-02 21:01:38 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2020-01-02 21:01:38 +0100
commitf7d30133221896638f7bf4f66c504255c4b14f48 (patch)
tree5f3e07a049f388a3a309a615b8884318f6668a98 /nsprpub/pr/tests/libfilename.c
parent26b297510a11758727438df4669357a2a2bc42ce (diff)
downloadUXP-f7d30133221896638f7bf4f66c504255c4b14f48.tar
UXP-f7d30133221896638f7bf4f66c504255c4b14f48.tar.gz
UXP-f7d30133221896638f7bf4f66c504255c4b14f48.tar.lz
UXP-f7d30133221896638f7bf4f66c504255c4b14f48.tar.xz
UXP-f7d30133221896638f7bf4f66c504255c4b14f48.zip
Issue #1338 - Part 1: Update NSPR to 4.24
Diffstat (limited to 'nsprpub/pr/tests/libfilename.c')
-rw-r--r--nsprpub/pr/tests/libfilename.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/nsprpub/pr/tests/libfilename.c b/nsprpub/pr/tests/libfilename.c
index 66bb45c89..09d0980de 100644
--- a/nsprpub/pr/tests/libfilename.c
+++ b/nsprpub/pr/tests/libfilename.c
@@ -34,7 +34,9 @@ static PRStatus RunTest(const char *name, PRFuncPtr addr)
return PR_FAILURE;
}
- if (debug_mode) printf("Pathname is %s\n", pathname);
+ if (debug_mode) {
+ printf("Pathname is %s\n", pathname);
+ }
fd = PR_OpenFile(pathname, PR_RDONLY, 0);
if (fd == NULL) {
fprintf(stderr, "PR_Open failed: %d\n", (int)PR_GetError());
@@ -74,7 +76,9 @@ int main(int argc, char **argv)
/* Next test a library that is dynamically loaded. */
name = PR_GetLibraryName("dll", "my");
- if (debug_mode) printf("Loading library %s\n", name);
+ if (debug_mode) {
+ printf("Loading library %s\n", name);
+ }
lib = PR_LoadLibrary(name);
if (!lib) {
fprintf(stderr, "PR_LoadLibrary failed\n");