diff options
Diffstat (limited to 'jurt/source')
-rw-r--r-- | jurt/source/pipe/com_sun_star_lib_connections_pipe_PipeConnection.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/jurt/source/pipe/com_sun_star_lib_connections_pipe_PipeConnection.c b/jurt/source/pipe/com_sun_star_lib_connections_pipe_PipeConnection.c index 326f9584a5a0..fae40f97bf01 100644 --- a/jurt/source/pipe/com_sun_star_lib_connections_pipe_PipeConnection.c +++ b/jurt/source/pipe/com_sun_star_lib_connections_pipe_PipeConnection.c @@ -342,7 +342,7 @@ JNICALL Java_com_sun_star_lib_connections_pipe_PipeConnection_readJNI enum { START = 0, INMONITOR, - AQUIRED, + ACQUIRED, GOTBUFFER }; @@ -374,9 +374,9 @@ JNICALL Java_com_sun_star_lib_connections_pipe_PipeConnection_readJNI goto error; } - /* aquire pipe */ + /* acquire pipe */ osl_acquirePipe( npipe ); - state = AQUIRED; + state = ACQUIRED; /* allocate a buffer */ if ((nbuff = malloc(len)) == NULL) @@ -424,7 +424,7 @@ JNICALL Java_com_sun_star_lib_connections_pipe_PipeConnection_readJNI /* done */ free(nbuff); - if ( state >= AQUIRED ) + if ( state >= ACQUIRED ) osl_releasePipe( npipe ); /* exit monitor */ |