/* $OpenLDAP$ */
/*
* Copyright 1999, John C. Quillan, All rights reserved.
- * Portions Copyright 2002, myinternet pty ltd. All rights reserved.
+ * Portions Copyright 2002, myinternet Limited. All rights reserved.
*
* Redistribution and use in source and binary forms are permitted only
* as authorized by the OpenLDAP Public License. A copy of this
#include "portable.h"
#include <stdio.h>
-/* #include <ac/types.h>
- #include <ac/socket.h>
-*/
+
+#include "slap.h"
+#ifdef HAVE_WIN32_ASPERL
+#include "asperl_undefs.h"
+#endif
#include <EXTERN.h>
#include <perl.h>
-#include "slap.h"
#include "perl_back.h"
int
}
- XPUSHs(sv_2mortal(newSVpv( mods->sm_type.bv_val, 0 )));
+ XPUSHs(sv_2mortal(newSVpv( mods->sm_desc->ad_cname.bv_val, 0 )));
for ( i = 0;
mods->sm_bvalues != NULL && mods->sm_bvalues[i].bv_val != NULL;