From: Ted Zlatanov Date: Mon, 25 Apr 2011 12:48:24 +0000 (-0500) Subject: Fix typo in GnuTLS W32 support. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~215^2~9 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=42ce4c631e0d9291399dac0e9787ce2fbb97c8eb;p=emacs.git Fix typo in GnuTLS W32 support. * w32.c (emacs_gnutls_push): Fix typo. --- diff --git a/src/ChangeLog b/src/ChangeLog index 9166fe1822f..0350d36ea06 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2011-04-25 Teodor Zlatanov + + * w32.c (emacs_gnutls_push): Fix typo. + 2011-04-25 Eli Zaretskii * gnutls.c (emacs_gnutls_handshake): Avoid compiler warnings about diff --git a/src/w32.c b/src/w32.c index 065d730333b..2fbb3b6cb4c 100644 --- a/src/w32.c +++ b/src/w32.c @@ -6176,7 +6176,7 @@ ssize_t emacs_gnutls_push (gnutls_transport_ptr_t p, const void* buf, size_t sz) { struct Lisp_Process *process = (struct Lisp_Process *)p; - int fd = proc->outfd; + int fd = process->outfd; ssize_t n = sys_write(fd, buf, sz); /* 0 or more bytes written means everything went fine. */