From: hno <> Date: Mon, 1 Apr 2002 16:08:38 +0000 (+0000) Subject: SASL heler bugfix from Ian Castle. Forgot to turn off buffering of stdout X-Git-Tag: SQUID_3_0_PRE1~1147 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c018aa84bc2e271be178e94199045f81f4395b70;p=thirdparty%2Fsquid.git SASL heler bugfix from Ian Castle. Forgot to turn off buffering of stdout --- diff --git a/helpers/basic_auth/SASL/sasl_auth.c b/helpers/basic_auth/SASL/sasl_auth.c index 0f3e4be39f..4bdd43b7bc 100644 --- a/helpers/basic_auth/SASL/sasl_auth.c +++ b/helpers/basic_auth/SASL/sasl_auth.c @@ -1,5 +1,5 @@ /* - * $Id: sasl_auth.c,v 1.1 2002/03/30 16:42:59 hno Exp $ + * $Id: sasl_auth.c,v 1.2 2002/04/01 09:08:38 hno Exp $ * * SASL authenticator module for Squid. * Copyright (C) 2002 Ian Castle @@ -43,6 +43,9 @@ main() int rc; sasl_conn_t *conn = NULL; + /* make standard output line buffered */ + setvbuf(stdout, NULL, _IOLBF, 0); + rc = sasl_server_init( NULL, APP_NAME_SASL ); if ( rc != SASL_OK ) {