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:
053ac22
)
get peer name from context
author
Aleš Křenek
<ljocha@ics.muni.cz>
Tue, 26 Apr 2005 14:59:03 +0000
(14:59 +0000)
committer
Aleš Křenek
<ljocha@ics.muni.cz>
Tue, 26 Apr 2005 14:59:03 +0000
(14:59 +0000)
org.glite.jp.common/src/context.c
patch
|
blob
|
blame
|
history
diff --git
a/org.glite.jp.common/src/context.c
b/org.glite.jp.common/src/context.c
index
016bc59
..
057aad0
100644
(file)
--- a/
org.glite.jp.common/src/context.c
+++ b/
org.glite.jp.common/src/context.c
@@
-11,7
+11,7
@@
int glite_jp_init_context(glite_jp_context_t *ctx)
char *glite_jp_peer_name(glite_jp_context_t ctx)
{
- return strdup("unknown");
+ return strdup(
ctx->peer ? ctx->peer :
"unknown");
}
char *glite_jp_error_chain(glite_jp_context_t ctx)