summaryrefslogtreecommitdiff
path: root/pjlib/include/pj
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-01-18 23:32:27 +0000
committerBenny Prijono <bennylp@teluu.com>2006-01-18 23:32:27 +0000
commitd192c694c8bf65798b042853a23932d08dc806a1 (patch)
treefa35c11eea5117ec5b3d1e1b5401b7431b6a21d9 /pjlib/include/pj
parent5c43708955177778cac44eb56d98e16cbbecf438 (diff)
Fixed minor warnings/mismatched comments mainly in pjlib++
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@122 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/include/pj')
-rw-r--r--pjlib/include/pj/compat/cc_gcc.h2
-rw-r--r--pjlib/include/pj/compat/cc_msvc.h3
-rw-r--r--pjlib/include/pj/sock.h2
3 files changed, 6 insertions, 1 deletions
diff --git a/pjlib/include/pj/compat/cc_gcc.h b/pjlib/include/pj/compat/cc_gcc.h
index f49c8b0a..fa9c2aca 100644
--- a/pjlib/include/pj/compat/cc_gcc.h
+++ b/pjlib/include/pj/compat/cc_gcc.h
@@ -44,6 +44,8 @@
typedef long long pj_int64_t;
typedef unsigned long long pj_uint64_t;
+#define PJ_INT64_FMT "L"
+
#endif /* __PJ_COMPAT_CC_GCC_H__ */
diff --git a/pjlib/include/pj/compat/cc_msvc.h b/pjlib/include/pj/compat/cc_msvc.h
index 57f97a3d..291ecc82 100644
--- a/pjlib/include/pj/compat/cc_msvc.h
+++ b/pjlib/include/pj/compat/cc_msvc.h
@@ -57,4 +57,7 @@
typedef __int64 pj_int64_t;
typedef unsigned __int64 pj_uint64_t;
+#define PJ_INT64_FMT "I64"
+
+
#endif /* __PJ_COMPAT_CC_MSVC_H__ */
diff --git a/pjlib/include/pj/sock.h b/pjlib/include/pj/sock.h
index 89883495..cd15913a 100644
--- a/pjlib/include/pj/sock.h
+++ b/pjlib/include/pj/sock.h
@@ -663,7 +663,7 @@ PJ_DECL(pj_status_t) pj_sock_send(pj_sock_t sockfd,
* @param to The address to send.
* @param tolen The length of the address in bytes.
*
- * @return The length of data successfully sent.
+ * @return PJ_SUCCESS or the status code.
*/
PJ_DECL(pj_status_t) pj_sock_sendto(pj_sock_t sockfd,
const void *buf,