Changeset 492 in openpam for trunk


Ignore:
Timestamp:
Nov 20, 2011, 2:04:17 AM (8 years ago)
Author:
Dag-Erling Smørgrav
Message:

dst can't be const, you idiot.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/openpam_strlcpy.h

    r490 r492  
    3434/* like strcpy(3), but always NUL-terminates; returns strlen(src) */
    3535size_t
    36 strlcpy(const char *dst, const char *src, size_t size)
     36strlcpy(char *dst, const char *src, size_t size)
    3737{
    3838        size_t len;
Note: See TracChangeset for help on using the changeset viewer.