Mercurial > pidgin.yaz
comparison libpurple/protocols/zephyr/ZInit.c @ 32257:e972e2161bf5
Fix some un-fixes in the Zephyr strlcpy changes
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Tue, 16 Aug 2011 15:03:35 +0000 |
parents | 680bd9ef2d8f |
children |
comparison
equal
deleted
inserted
replaced
32256:be2d3f222f07 | 32257:e972e2161bf5 |
---|---|
106 != KSUCCESS) && | 106 != KSUCCESS) && |
107 ((krbval = krb_get_lrealm(__Zephyr_realm, 1)) != KSUCCESS)) { | 107 ((krbval = krb_get_lrealm(__Zephyr_realm, 1)) != KSUCCESS)) { |
108 return (krbval); | 108 return (krbval); |
109 } | 109 } |
110 #else | 110 #else |
111 g_strlcpy(__Zephyr_realm, "local-realm", 12); | 111 g_strlcpy(__Zephyr_realm, "local-realm", REALM_SZ); |
112 #endif | 112 #endif |
113 | 113 |
114 __My_addr.s_addr = INADDR_NONE; | 114 __My_addr.s_addr = INADDR_NONE; |
115 if (servaddr.s_addr != INADDR_NONE) { | 115 if (servaddr.s_addr != INADDR_NONE) { |
116 /* Try to get the local interface address by connecting a UDP | 116 /* Try to get the local interface address by connecting a UDP |