projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
12f52e6
)
Conditional compilation of w32_socket_error
author
oes
<oes@users.sourceforge.net>
Tue, 29 May 2001 11:52:21 +0000
(11:52 +0000)
committer
oes
<oes@users.sourceforge.net>
Tue, 29 May 2001 11:52:21 +0000
(11:52 +0000)
errlog.c
patch
|
blob
|
history
diff --git
a/errlog.c
b/errlog.c
index
1c4aee4
..
59ea1d8
100644
(file)
--- a/
errlog.c
+++ b/
errlog.c
@@
-1,4
+1,4
@@
-const char errlog_rcs[] = "$Id: errlog.c,v 1.
8 2001/05/26 17:25:14
jongfoster Exp $";
+const char errlog_rcs[] = "$Id: errlog.c,v 1.
9 2001/05/28 16:15:17
jongfoster Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/errlog.c,v $
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/errlog.c,v $
@@
-33,6
+33,9
@@
const char errlog_rcs[] = "$Id: errlog.c,v 1.8 2001/05/26 17:25:14 jongfoster Ex
*
* Revisions :
* $Log: errlog.c,v $
*
* Revisions :
* $Log: errlog.c,v $
+ * Revision 1.9 2001/05/28 16:15:17 jongfoster
+ * Improved reporting of errors under Win32.
+ *
* Revision 1.8 2001/05/26 17:25:14 jongfoster
* Added support for CLF (Common Log Format) and fixed LOG_LEVEL_LOG
*
* Revision 1.8 2001/05/26 17:25:14 jongfoster
* Added support for CLF (Common Log Format) and fixed LOG_LEVEL_LOG
*
@@
-599,6
+602,7
@@
void log_error(int loglevel, char *fmt, ...)
}
}
+#ifdef _WIN32
/*********************************************************************
*
* Function : w32_socket_strerr
/*********************************************************************
*
* Function : w32_socket_strerr
@@
-685,6
+689,7
@@
static char * w32_socket_strerr(int errcode, char * tmp_buf)
sprintf(tmp_buf, "(error number %d)", errcode);
return tmp_buf;
}
sprintf(tmp_buf, "(error number %d)", errcode);
return tmp_buf;
}
+#endif /* def _WIN32 */
/*
/*