X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=fish%2Frc.c;h=31f5c6473bc543e7dcadfdff76fb3a5c12a8fe4d;hb=342b4a55d056734a0344db8b4bcf1a90104a8a59;hp=721c6133d1b99fb9779c34d2f61f1db9a1aacb55;hpb=4bcb267a248977c6b044e18a72266d665102de30;p=libguestfs.git diff --git a/fish/rc.c b/fish/rc.c index 721c613..31f5c64 100644 --- a/fish/rc.c +++ b/fish/rc.c @@ -13,7 +13,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include @@ -71,6 +71,7 @@ receive_stdout (int s) } /* Don't specify a source */ + memset (&msg, 0, sizeof msg); msg.msg_name = NULL; msg.msg_namelen = 0; @@ -118,6 +119,7 @@ send_stdout (int s) char buf[1]; /* Don't specify a destination */ + memset (&msg, 0, sizeof msg); msg.msg_name = NULL; msg.msg_namelen = 0;