projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f523046
)
* save more memory
author
Wilfried Göesgens
<willi@citadel.org>
Thu, 18 Jun 2009 21:34:50 +0000
(21:34 +0000)
committer
Wilfried Göesgens
<willi@citadel.org>
Thu, 18 Jun 2009 21:34:50 +0000
(21:34 +0000)
webcit/webcit.c
patch
|
blob
|
history
diff --git
a/webcit/webcit.c
b/webcit/webcit.c
index f18493333e815883f94733eec090cd6b69580514..08dff525967c5b4557e39d6e2269d9bc9580655f 100644
(file)
--- a/
webcit/webcit.c
+++ b/
webcit/webcit.c
@@
-41,6
+41,7
@@
void WebcitAddUrlHandler(const char * UrlString,
NewHandler->F = F;
NewHandler->Flags = Flags;
NewHandler->Name = NewStrBufPlain(UrlString, UrlSLen);
+ StrBufShrinkToFit(NewHandler->Name, 1);
Put(HandlerHash, UrlString, UrlSLen, NewHandler, DeleteWebcitHandler);
}