projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91fdfbf
)
Fixed bug in simple server where packet length wasn't being set
author
Theodore Tso
<tytso@mit.edu>
Sat, 30 Oct 1993 23:01:27 +0000
(23:01 +0000)
committer
Theodore Tso
<tytso@mit.edu>
Sat, 30 Oct 1993 23:01:27 +0000
(23:01 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2718
dc483132
-0cff-0310-8789-
dd5450dbe970
src/appl/simple/server/sim_server.c
patch
|
blob
|
history
diff --git
a/src/appl/simple/server/sim_server.c
b/src/appl/simple/server/sim_server.c
index 8e821255a000b3aeb84b93e6f3e4482d24a6600f..dce8ce3cf7f28d69ab470ceb00272a45caa70c45 100644
(file)
--- a/
src/appl/simple/server/sim_server.c
+++ b/
src/appl/simple/server/sim_server.c
@@
-226,6
+226,9
@@
char *argv[];
}
printf("Received %d bytes\n", i);
+ packet.length = i;
+ packet.data = (krb5_pointer) pktbuf;
+
if (retval = krb5_gen_portaddr(&foreign_addr,
(krb5_pointer) &c_sock.sin_port,
&portforeign_addr)) {