[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Simulavr-devel] [patch #7033] sizeof in GdbServer::TryConnectGdb()
From: |
Petr Hluzin |
Subject: |
[Simulavr-devel] [patch #7033] sizeof in GdbServer::TryConnectGdb() |
Date: |
Sun, 20 Dec 2009 20:36:09 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; cs; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6 |
URL:
<http://savannah.nongnu.org/patch/?7033>
Summary: sizeof in GdbServer::TryConnectGdb()
Project: Simulavr: an AVR simulator
Submitted by: petrh
Submitted on: Sun 20 Dec 2009 09:36:08 PM CET
Category: bug fix
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Component Version: simulavrxx
_______________________________________________________
Details:
int addrLen = sizeof(struct sockaddr *);
should be
int addrLen = sizeof(struct sockaddr_in);
Or perhaps sizeof(struct sockaddr), I do not get the difference.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sun 20 Dec 2009 09:36:08 PM CET Name: 846-sizeof.diff Size: 688B
By: petrh
<http://savannah.nongnu.org/patch/download.php?file_id=19314>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?7033>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Simulavr-devel] [patch #7033] sizeof in GdbServer::TryConnectGdb(),
Petr Hluzin <=