r785: Fix a typo in strcmp usage in process_msg(). stable test
authorGerald Carter <jerry@samba.org>
Thu, 8 Nov 2007 15:47:58 +0000 (15:47 +0000)
committerGerald Carter <jerry@samba.org>
Thu, 8 Nov 2007 15:47:58 +0000 (15:47 +0000)
Patch from Dmitry Butskoy <buc@odusz.so-cdu.ru>.

mod_auth_ntlm_winbind.c

index d88cf671db84f12abe4705957881f71ecdb5d618..e5afff0522a05d55b4bff8bb2d501ead24e82f4c 100644 (file)
@@ -839,7 +839,7 @@ process_msg(request_rec * r, ntlm_config_rec * crec, const char *auth_type)
             r->connection->ap_auth_type = ctxt->connected_user_authenticated->auth_type;
 #endif
 
-            if (!strcmp("*", childarg)) {
+            if (strcmp("*", childarg) != 0) {
                 /* Send last leg (possible mutual authentication token) */
                 apr_table_setn(r->headers_out,
                               (PROXYREQ_PROXY == r->proxyreq) ? "Proxy-Authenticate" : "WWW-Authenticate",