I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 0ddcfc42 authored by mpc's avatar mpc Committed by zzz
Browse files

*** empty log message ***

parent b4ac56e2
No related branches found
No related tags found
No related merge requests found
...@@ -21,9 +21,9 @@ SRCDIR = src ...@@ -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 @@ ...@@ -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 { ...@@ -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) ...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment