Changeset 130 in openpam for trunk


Ignore:
Timestamp:
Apr 17, 2002, 7:26:16 AM (18 years ago)
Author:
Dag-Erling Smørgrav
Message:

Set rsp to NULL before calling the conversation function, so we can
later detect if it hasn't been touched.

Sponsored by: DARPA, NAI Labs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/pam_vprompt.c

    r93 r130  
    3232 * SUCH DAMAGE.
    3333 *
    34  * $P4: //depot/projects/openpam/lib/pam_vprompt.c#5 $
     34 * $P4: //depot/projects/openpam/lib/pam_vprompt.c#6 $
    3535 */
    3636
     
    7373        msg.msg = msgbuf;
    7474        msgp = &msg;
     75        rsp = NULL;
    7576        r = (conv->conv)(1, &msgp, &rsp, conv->appdata_ptr);
    7677        *resp = rsp == NULL ? NULL : rsp->resp;
Note: See TracChangeset for help on using the changeset viewer.