forked from I2P_Developers/i2p.i2p
*** empty log message ***
This commit is contained in:
@ -21,9 +21,9 @@ SRCDIR = src
|
|||||||
# Programs
|
# Programs
|
||||||
#
|
#
|
||||||
|
|
||||||
AR = C:\Dev-Cpp\bin\ar
|
AR = C:\MinGW\bin\ar
|
||||||
CC = C:\Dev-Cpp\bin\gcc
|
CC = C:\MinGW\bin\gcc
|
||||||
RM = C:\Dev-Cpp\bin\rm
|
RM = C:\MinGW\bin\rm
|
||||||
|
|
||||||
#
|
#
|
||||||
# Flags
|
# Flags
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
# Programs
|
# Programs
|
||||||
#
|
#
|
||||||
|
|
||||||
CC = C:\Dev-Cpp\bin\gcc
|
CC = C:\MinGW\bin\gcc
|
||||||
RM = C:\Dev-Cpp\bin\rm
|
RM = C:\MinGW\bin\rm
|
||||||
|
|
||||||
#
|
#
|
||||||
# Flags
|
# Flags
|
||||||
|
@ -87,6 +87,7 @@ typedef struct {
|
|||||||
int sock; /* the socket used for communications with SAM */
|
int sock; /* the socket used for communications with SAM */
|
||||||
bool connected; /* whether the socket is connected */
|
bool connected; /* whether the socket is connected */
|
||||||
sam_sid_t prev_id; /* the last stream id number we used */
|
sam_sid_t prev_id; /* the last stream id number we used */
|
||||||
|
void *child; /* whatever you want it to be */
|
||||||
} sam_sess_t; /* a SAM session */
|
} sam_sess_t; /* a SAM session */
|
||||||
|
|
||||||
typedef enum { /* see sam_strerror() for detailed descriptions of these */
|
typedef enum { /* see sam_strerror() for detailed descriptions of these */
|
||||||
|
@ -937,6 +937,7 @@ sam_sess_t *sam_session_init(sam_sess_t *session)
|
|||||||
SAMLOGS("Out of memory");
|
SAMLOGS("Out of memory");
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
|
session->child = NULL;
|
||||||
}
|
}
|
||||||
session->connected = false;
|
session->connected = false;
|
||||||
session->prev_id = 0;
|
session->prev_id = 0;
|
||||||
|
Reference in New Issue
Block a user