diff options
author | Werner Koch <wk@gnupg.org> | 2004-12-15 15:15:54 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2004-12-15 15:15:54 +0100 |
commit | 69967b04125e53811182a01d2700984469117339 (patch) | |
tree | 3034ccf72b4bb558187f3e1d435a92ec193e093c /common/iobuf.c | |
parent | Yep. No lost threads anymore. (diff) | |
download | gnupg2-69967b04125e53811182a01d2700984469117339.tar.xz gnupg2-69967b04125e53811182a01d2700984469117339.zip |
A whole bunch of changes to allow building for W32.
Diffstat (limited to 'common/iobuf.c')
-rw-r--r-- | common/iobuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/iobuf.c b/common/iobuf.c index 4d735397e..52a388514 100644 --- a/common/iobuf.c +++ b/common/iobuf.c @@ -1096,7 +1096,7 @@ iobuf_cancel (iobuf_t a) if (s && *s) { #if defined(HAVE_DOSISH_SYSTEM) || defined(__riscos__) - remove_name = m_strdup (s); + remove_name = xstrdup (s); #else remove (s); #endif @@ -1267,7 +1267,7 @@ iobuf_sockopen (int fd, const char *mode) size_t len; a = iobuf_alloc (strchr (mode, 'w') ? 2 : 1, 8192); - scx = m_alloc (sizeof *scx + 25); + scx = xmalloc (sizeof *scx + 25); scx->sock = fd; scx->print_only_name = 1; sprintf (scx->fname, "[sock %d]", fd); |