git://scientific.zcu.cz
/
jra1mw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3309c3e
)
initialise len and code when reading protocol error -- garbage resitance
author
Aleš Křenek
<ljocha@ics.muni.cz>
Mon, 28 Nov 2005 17:37:52 +0000
(17:37 +0000)
committer
Aleš Křenek
<ljocha@ics.muni.cz>
Mon, 28 Nov 2005 17:37:52 +0000
(17:37 +0000)
org.glite.lb.client/src/connection.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.lb.client/src/connection.c
b/org.glite.lb.client/src/connection.c
index
33fdf78
..
bbd03ee
100644
(file)
--- a/
org.glite.lb.client/src/connection.c
+++ b/
org.glite.lb.client/src/connection.c
@@
-253,7
+253,7
@@
int http_check_status(
char *response)
{
- int code
,len
;
+ int code
= HTTP_INTERNAL,len = 0
;
edg_wll_ResetError(ctx);
sscanf(response,"HTTP/%*f %n%d",&len,&code);