summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con/dns.c
diff options
context:
space:
mode:
authorSebastian Dransfeld <sebastian.dransfeld@sintef.no>2013-06-20 13:08:36 +0200
committerSebastian Dransfeld <sebastian.dransfeld@sintef.no>2013-06-20 13:08:36 +0200
commit068f1ddc628b8bff0b82a87201c2e753845c4978 (patch)
tree2837190c9873be733a6cfacc5a932a754d34a136 /src/lib/ecore_con/dns.c
parent51023d2d4fd9fbde2e376d32b29dc7b37da70919 (diff)
efl: formatting
Diffstat (limited to 'src/lib/ecore_con/dns.c')
-rw-r--r--src/lib/ecore_con/dns.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/ecore_con/dns.c b/src/lib/ecore_con/dns.c
index 87ecbff..7a0d5e1 100644
--- a/src/lib/ecore_con/dns.c
+++ b/src/lib/ecore_con/dns.c
@@ -431,7 +431,7 @@ static inline unsigned dns_k_permutor_powof(unsigned n) {
431 unsigned m, i = 0; 431 unsigned m, i = 0;
432 432
433 for (m = 1; m < n; m <<= 1, i++) 433 for (m = 1; m < n; m <<= 1, i++)
434 ;; 434 ;
435 435
436 return i; 436 return i;
437} /* dns_k_permutor_powof() */ 437} /* dns_k_permutor_powof() */
@@ -748,7 +748,7 @@ size_t dns_strlcpy(char *dst, const char *src, size_t lim) {
748 } 748 }
749 749
750 while (*s++ != '\0') 750 while (*s++ != '\0')
751 ;; 751 ;
752 752
753 return s - src - 1; 753 return s - src - 1;
754} /* dns_strlcpy() */ 754} /* dns_strlcpy() */
@@ -772,7 +772,7 @@ size_t dns_strlcat(char *dst, const char *src, size_t lim) {
772 p = s; 772 p = s;
773 773
774 while (*s++ != '\0') 774 while (*s++ != '\0')
775 ;; 775 ;
776 776
777 return lim + (s - p - 1); 777 return lim + (s - p - 1);
778} /* dns_strlcat() */ 778} /* dns_strlcat() */
@@ -875,7 +875,7 @@ static long dns_send(int fd, const void *src, size_t lim, int flags) {
875 875
876 if (count == -1 && errno == EPIPE) { 876 if (count == -1 && errno == EPIPE) {
877 while (-1 == sigtimedwait(&piped, NULL, &(struct timespec){ 0, 0 }) && errno == EINTR) 877 while (-1 == sigtimedwait(&piped, NULL, &(struct timespec){ 0, 0 }) && errno == EINTR)
878 ;; 878 ;
879 } 879 }
880 880
881 if ((error = dns_sigmask(SIG_SETMASK, &blocked, NULL))) 881 if ((error = dns_sigmask(SIG_SETMASK, &blocked, NULL)))