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:
531c381
)
* Fix a bug where avahi-publish-service ignores the port - Thanks to
author
Trent Lloyd
<lathiat@bur.st>
Wed, 11 Jan 2006 13:33:59 +0000
(13:33 +0000)
committer
Trent Lloyd
<lathiat@bur.st>
Wed, 11 Jan 2006 13:33:59 +0000
(13:33 +0000)
Nicolas Aupetit for the report and fix.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1071
941a03a8
-eaeb-0310-b9a0-
b1bbd8fe43fe
avahi-utils/avahi-publish.c
patch
|
blob
|
history
diff --git
a/avahi-utils/avahi-publish.c
b/avahi-utils/avahi-publish.c
index
9d3e53c
..
9ca2df2
100644
(file)
--- a/
avahi-utils/avahi-publish.c
+++ b/
avahi-utils/avahi-publish.c
@@
-322,6
+322,8
@@
static int parse_command_line(Config *c, const char *argv0, int argc, char *argv
fprintf(stderr, "Failed to parse port number: %s\n", argv[optind+2]);
return -1;
}
+
+ c->port = p;
for (i = optind+3; i < argc; i++)
c->txt = avahi_string_list_add(c->txt, argv[i]);