summaryrefslogtreecommitdiff
path: root/sqmail-4.3.07/src/tryuserpw.c
diff options
context:
space:
mode:
Diffstat (limited to 'sqmail-4.3.07/src/tryuserpw.c')
-rw-r--r--sqmail-4.3.07/src/tryuserpw.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sqmail-4.3.07/src/tryuserpw.c b/sqmail-4.3.07/src/tryuserpw.c
new file mode 100644
index 0000000..a359d27
--- /dev/null
+++ b/sqmail-4.3.07/src/tryuserpw.c
@@ -0,0 +1,9 @@
+#include <userpw.h>
+
+int main()
+{
+ struct userpw *upw;
+
+ upw = getuserpw("");
+ puts(upw->upw_passwd);
+}