Dolda2000 GitWeb
/
doldaconnect.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3ba996
)
Fixed typo-related memory leak.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Fri, 17 Oct 2008 23:45:47 +0000
(
01:45
+0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Fri, 17 Oct 2008 23:45:47 +0000
(
01:45
+0200)
daemon/fnet-dc.c
patch
|
blob
|
blame
|
history
diff --git
a/daemon/fnet-dc.c
b/daemon/fnet-dc.c
index
348a53a
..
2e490ea
100644
(file)
--- a/
daemon/fnet-dc.c
+++ b/
daemon/fnet-dc.c
@@
-872,7
+872,7
@@
static void cmd_hubname(struct socket *sk, struct fnetnode *fn, char *cmd, char
struct dchub *hub;
hub = fn->data;
- if(hub->nativename
=
= NULL)
+ if(hub->nativename
!
= NULL)
free(hub->nativename);
hub->nativename = sstrdup(args);
buf = icmbstowcs(args, hub->charset);