Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lyskom-server-ceder-1616-generations-topgit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
7ee01e25
Commit
7ee01e25
authored
33 years ago
by
Per Cederqvist
Browse files
Options
Downloads
Patches
Plain Diff
Some minor fixes concerning returning a Text_no from a call.
parent
82e6089c
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/server/prot-a-output.c
+3
-3
3 additions, 3 deletions
src/server/prot-a-output.c
src/server/prot-a-output.h
+5
-2
5 additions, 2 deletions
src/server/prot-a-output.h
src/server/prot-a.c
+7
-2
7 additions, 2 deletions
src/server/prot-a.c
with
15 additions
and
7 deletions
src/server/prot-a-output.c
+
3
−
3
View file @
7ee01e25
/*
/*
* $Id: prot-a-output.c,v 0.
6
1991/11/1
0 19:02:26 linus
Exp $
* $Id: prot-a-output.c,v 0.
7
1991/11/1
6 03:30:08 ceder
Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
* Copyright (C) 1991 Lysator Academic Computer Association.
*
*
* This file is part of the LysKOM server.
* This file is part of the LysKOM server.
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
* Written by ceder 1990-07-13
* Written by ceder 1990-07-13
*/
*/
static
char
*
rcsid
=
"$Id: prot-a-output.c,v 0.
6
1991/11/1
0 19:02:26 linus
Exp $"
;
static
char
*
rcsid
=
"$Id: prot-a-output.c,v 0.
7
1991/11/1
6 03:30:08 ceder
Exp $"
;
#include
<kom-types.h>
#include
<kom-types.h>
...
@@ -531,5 +531,5 @@ void
...
@@ -531,5 +531,5 @@ void
prot_a_output_text_no
(
Connection
*
fp
,
prot_a_output_text_no
(
Connection
*
fp
,
Text_no
text
)
Text_no
text
)
{
{
mux_printf
(
fp
,
" %lu"
,
text
);
mux_printf
(
fp
,
" %lu"
,
(
u_long
)
text
);
}
}
This diff is collapsed.
Click to expand it.
src/server/prot-a-output.h
+
5
−
2
View file @
7ee01e25
/*
/*
* $Id: prot-a-output.h,v 0.
3
1991/
09/15 10:30:25 linus
Exp $
* $Id: prot-a-output.h,v 0.
4
1991/
11/16 03:30:07 ceder
Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
* Copyright (C) 1991 Lysator Academic Computer Association.
*
*
* This file is part of the LysKOM server.
* This file is part of the LysKOM server.
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
* Please mail bug reports to bug-lyskom@lysator.liu.se.
* Please mail bug reports to bug-lyskom@lysator.liu.se.
*/
*/
/*
/*
* $Id: prot-a-output.h,v 0.
3
1991/
09/15 10:30:25 linus
Exp $
* $Id: prot-a-output.h,v 0.
4
1991/
11/16 03:30:07 ceder
Exp $
*
*
*/
*/
extern
void
extern
void
...
@@ -124,3 +124,6 @@ void
...
@@ -124,3 +124,6 @@ void
prot_a_output_session_no
(
Connection
*
fp
,
prot_a_output_session_no
(
Connection
*
fp
,
Session_no
session_no
);
Session_no
session_no
);
void
prot_a_output_text_no
(
Connection
*
fp
,
Text_no
text
);
This diff is collapsed.
Click to expand it.
src/server/prot-a.c
+
7
−
2
View file @
7ee01e25
/*
/*
* $Id: prot-a.c,v 0.1
0
1991/11/1
1
0
0:27:32
ceder Exp $
* $Id: prot-a.c,v 0.1
1
1991/11/1
6
0
3:30:05
ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association.
* Copyright (C) 1991 Lysator Academic Computer Association.
*
*
* This file is part of the LysKOM server.
* This file is part of the LysKOM server.
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
* Protocol A.
* Protocol A.
*/
*/
static
char
*
rcsid
=
"$Id: prot-a.c,v 0.1
0
1991/11/1
1
0
0:27:32
ceder Exp $"
;
static
char
*
rcsid
=
"$Id: prot-a.c,v 0.1
1
1991/11/1
6
0
3:30:05
ceder Exp $"
;
#include
<stdio.h>
#include
<stdio.h>
...
@@ -160,6 +160,11 @@ prot_a_reply(Connection *client,
...
@@ -160,6 +160,11 @@ prot_a_reply(Connection *client,
prot_a_output_session_no
(
client
,
res
->
session_no
);
prot_a_output_session_no
(
client
,
res
->
session_no
);
BUG
((
"=(Session_no)%d
\n
"
,
res
->
session_no
));
BUG
((
"=(Session_no)%d
\n
"
,
res
->
session_no
));
break
;
break
;
case
rt_text_no
:
prot_a_output_text_no
(
client
,
res
->
text_no
);
BUG
((
"=(Text_no)%d
\n
"
,
res
->
text_no
));
break
;
}
}
mux_putc
(
'\n'
,
client
);
mux_putc
(
'\n'
,
client
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment