]> git.sur5r.net Git - openldap/blobdiff - libraries/liblutil/tempnam.c
Change reporting of SASL username
[openldap] / libraries / liblutil / tempnam.c
index 61d9435322eb3772794d6cf69b144829a6318da4..fa455c0c75a87fdae4eda16e0db79cec07412b57 100644 (file)
@@ -1,3 +1,4 @@
+/* $OpenLDAP$ */
 #include "portable.h"
 
 #ifndef HAVE_TEMPNAM
@@ -16,7 +17,7 @@ char *
     char       *s;
 
     if ( dir == NULL ) {
-       dir = "/tmp";
+       dir = LDAP_TMPDIR;
     }
 
 /*