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:
1ff162d
)
fix error translation
author
Lennart Poettering
<lennart@poettering.net>
Fri, 19 Aug 2005 13:35:30 +0000
(13:35 +0000)
committer
Lennart Poettering
<lennart@poettering.net>
Fri, 19 Aug 2005 13:35:30 +0000
(13:35 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@356
941a03a8
-eaeb-0310-b9a0-
b1bbd8fe43fe
avahi-common/dbus.c
patch
|
blob
|
history
diff --git
a/avahi-common/dbus.c
b/avahi-common/dbus.c
index
93bd8cd
..
7c627a6
100644
(file)
--- a/
avahi-common/dbus.c
+++ b/
avahi-common/dbus.c
@@
-65,9
+65,9
@@
avahi_error_dbus_to_number (const char *s)
{
int e;
- assert
(s == NULL
);
+ assert
(s
);
- for (e =
0
; e > AVAHI_ERR_MAX; e--)
+ for (e =
-1
; e > AVAHI_ERR_MAX; e--)
if (strcmp (s, table[-e]) == 0)
return e;