import from HEAD:
authorfcusack <fcusack>
Tue, 24 Oct 2006 04:40:58 +0000 (04:40 +0000)
committerfcusack <fcusack>
Tue, 24 Oct 2006 04:40:58 +0000 (04:40 +0000)
remove trailing "\n" from some radlog() calls

1  2 
src/modules/rlm_otp/otp_pw_valid.c

@@@ -104,11 -105,10 +104,10 @@@ otp_pw_valid(REQUEST *request, int pwe
    switch (otp_request.pwe.pwe) {
    case PWE_PAP:
      if (rvp->length > OTP_MAX_PASSCODE_LEN) {
-       (void) radlog(L_AUTH, "rlm_otp: passcode for [%s] too long\n",
-                     username);
+       (void) radlog(L_AUTH, "rlm_otp: passcode for [%s] too long", username);
        return RLM_MODULE_REJECT;
      }
 -    (void) strcpy(otp_request.pwe.passcode, rvp->vp_strvalue);
 +    (void) strcpy(otp_request.pwe.passcode, rvp->strvalue);
      break;
  
    case PWE_CHAP: