]> diplodocus.org Git - nmh/commitdiff
Forgot to reset the snoop callback one time.
authorKen Hornstein <kenh@pobox.com>
Fri, 23 Sep 2016 03:10:59 +0000 (23:10 -0400)
committerKen Hornstein <kenh@pobox.com>
Fri, 23 Sep 2016 03:10:59 +0000 (23:10 -0400)
uip/popsbr.c

index ba6003fd33fa54f2dce5817ab50e3ec9e0be2a9d..466146c3bc9283e5d21e71380b826b3b0dcfa865 100644 (file)
@@ -347,6 +347,7 @@ pop_sasl_callback(enum sasl_message_type mtype, unsigned const char *indata,
                rc = netsec_printf(nsc, errstr, "AUTH %s %s\r\n", mech,
                                   b64data);
                free(b64data);
                rc = netsec_printf(nsc, errstr, "AUTH %s %s\r\n", mech,
                                   b64data);
                free(b64data);
+               netsec_set_snoop_callback(nsc, NULL, NULL);
                if (rc != OK)
                    return NOTOK;
                if (netsec_flush(nsc, errstr) != OK)
                if (rc != OK)
                    return NOTOK;
                if (netsec_flush(nsc, errstr) != OK)