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:
5aec154
)
small fix to allow creating server instances without passing a configuration structure
author
Lennart Poettering
<lennart@poettering.net>
Wed, 12 Oct 2005 20:26:34 +0000
(20:26 +0000)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 12 Oct 2005 20:26:34 +0000
(20:26 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@741
941a03a8
-eaeb-0310-b9a0-
b1bbd8fe43fe
avahi-core/server.c
patch
|
blob
|
history
diff --git
a/avahi-core/server.c
b/avahi-core/server.c
index
7764635
..
9046ec4
100644
(file)
--- a/
avahi-core/server.c
+++ b/
avahi-core/server.c
@@
-1360,7
+1360,7
@@
AvahiServer *avahi_server_new(const AvahiPoll *poll_api, const AvahiServerConfig
AvahiServer *s;
int e;
- if ((e = valid_server_config(sc)) < 0) {
+ if (
sc &&
(e = valid_server_config(sc)) < 0) {
if (error)
*error = e;
return NULL;