diff options
author | Federico Lucifredi <flucifredi@acm.org> | 2007-12-23 02:04:57 +0000 |
---|---|---|
committer | Federico Lucifredi <flucifredi@acm.org> | 2007-12-23 02:04:57 +0000 |
commit | 64045c578321e4400bcb2cd7d116b68c6c74ae25 (patch) | |
tree | 1d782d03a491c9ed2717d7d856f024935b0a9460 /avahi-core/wide-area.c | |
parent | 4d7097e322fe68cd530d3199aa4a21308919fa84 (diff) |
syntax terror.
git-svn-id: file:///home/lennart/svn/public/avahi/branches/federico@1608 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/wide-area.c')
-rw-r--r-- | avahi-core/wide-area.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/avahi-core/wide-area.c b/avahi-core/wide-area.c index 6a21db7..f10e127 100644 --- a/avahi-core/wide-area.c +++ b/avahi-core/wide-area.c @@ -748,7 +748,7 @@ AvahiRecord* tsig_sign_packet(const char* name, AvahiDnsPacket *p, unsigned algo switch (algorithm){ - case 'AVAHI_TSIG_HMAC_MD5': + case AVAHI_TSIG_HMAC_MD5 : r->data.tsig.algorithm_name = avahi_strdup("hmac-md5.sig-alg.reg.int"); if(!(r->data.name) /* OOM check */ return NULL; @@ -757,10 +757,10 @@ AvahiRecord* tsig_sign_packet(const char* name, AvahiDnsPacket *p, unsigned algo break; - case 'AVAHI_TSIG_HMAC_SHA1': /*TODO: flesh specific. Test with latest Bind that now implements RFC 4635*/ + case AVAHI_TSIG_HMAC_SHA1 : /*TODO: flesh specific. Test with latest Bind that now implements RFC 4635*/ break; - case 'AVAHI_TSIG_HMAC_SHA256': /*TODO: flesh specific. Test with latest Bind that now implements RFC 4635 */ + case AVAHI_TSIG_HMAC_SHA256: /*TODO: flesh specific. Test with latest Bind that now implements RFC 4635 */ break; default: avahi_log_error("avahi_record_new_full() failed."); return NULL; |