Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
tg
Commits
90927315
Commit
90927315
authored
Jun 01, 2015
by
vvaltman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add "ANSWER 0" line on empty answers to socket
parent
7ee1d57e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
interface.c
interface.c
+1
-1
tgl
tgl
+1
-1
No files found.
interface.c
View file @
90927315
...
...
@@ -165,7 +165,7 @@ void socket_answer_add_printf (const char *format, ...) {
}
void
socket_answer_end
(
struct
in_ev
*
ev
)
{
if
(
ev
->
bev
&&
socket_answer_pos
>
0
)
{
if
(
ev
->
bev
)
{
static
char
s
[
100
];
sprintf
(
s
,
"ANSWER %d
\n
"
,
socket_answer_pos
);
bufferevent_write
(
ev
->
bev
,
s
,
strlen
(
s
));
...
...
tgl
@
195b2bcc
Subproject commit
abcd3899120e5f811feddc63ea7a9ebf65feca9b
Subproject commit
195b2bcccdefd63282654c4d827315a48b677f97
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment