]> granicus.if.org Git - apache/commitdiff
fix typo: || not |
authorStefan Fritsch <sf@apache.org>
Fri, 4 Jan 2013 23:48:15 +0000 (23:48 +0000)
committerStefan Fritsch <sf@apache.org>
Fri, 4 Jan 2013 23:48:15 +0000 (23:48 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1429169 13f79535-47bb-0310-9956-ffa450edef68

modules/lua/lua_apr.c

index 64b2a6bdc160eb5ae1c013cc65d4a6f212e8d735..de0e34d024b22a2874731465670873c957420d37 100644 (file)
@@ -153,7 +153,7 @@ static apr_status_t util_write(request_rec *r, apr_file_t *file, apr_off_t *size
 
             rc = apr_file_write_full(file, argsbuffer, (apr_size_t) rsize,
                                      &written);
-            if (written != rsize | rc != OK)
+            if (written != rsize || rc != OK)
                 return APR_ENOSPC;
             rpos += rsize;
         }