ossp-pkg/lmtp2nntp/lmtp2nntp_exwrap.c 1.1 -> 1.2
--- lmtp2nntp_exwrap.c 2002/02/14 10:51:50 1.1
+++ lmtp2nntp_exwrap.c 2002/02/27 09:34:41 1.2
@@ -40,6 +40,15 @@
return rc;
}
+char *str_dupex(const char *s, str_size_t n)
+{
+ char *rc;
+
+ if ((rc = str_dup(s, n)) == NULL)
+ throw(0,0,0);
+ return rc;
+}
+
void *mallocex(size_t size)
{
void *rc;
|
|