projects
/
platform
/
upstream
/
avahi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b444b3
)
Merge patch "avahi-compat-txt-buffer-size.patch" from Stanislav Brabec/JP Rosevear...
author
Lennart Poettering
<lennart@poettering.net>
Mon, 24 Apr 2006 00:04:17 +0000
(
00:04
+0000)
committer
Lennart Poettering
<lennart@poettering.net>
Mon, 24 Apr 2006 00:04:17 +0000
(
00:04
+0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1192
941a03a8
-eaeb-0310-b9a0-
b1bbd8fe43fe
avahi-compat-libdns_sd/txt.c
patch
|
blob
|
history
diff --git
a/avahi-compat-libdns_sd/txt.c
b/avahi-compat-libdns_sd/txt.c
index
c85837a
..
2b539e6
100644
(file)
--- a/
avahi-compat-libdns_sd/txt.c
+++ b/
avahi-compat-libdns_sd/txt.c
@@
-60,7
+60,7
@@
void DNSSD_API TXTRecordCreate(
if ((t = avahi_new(TXTRecordInternal, 1))) {
t->buffer = buffer;
- t->max_size =
length
;
+ t->max_size =
buffer ? length : (size_t)0
;
t->size = 0;
t->malloc_buffer = NULL;
}