aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog11
-rw-r--r--camel/Makefile.am2
-rw-r--r--camel/providers/pop3/camel-pop3-folder.c7
3 files changed, 15 insertions, 5 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 8f1c231df9..fb091ec335 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,14 @@
+2001-03-27 Jeffrey Stedfast <fejj@ximian.com>
+
+ * providers/pop3/camel-pop3-folder.c (pop3_sync): If we aren't
+ going to even check the resp/free buffer that gets returned from
+ camel_pop3_command, don't even bother using it. Send in NULL
+ instead.
+ (pop3_get_message): Check to make sure that the `result' string is
+ non-NULL. It's possible that some POP servers may return with
+ "+OK\r\n<message>..." rather than the expected
+ "+OK ### octets\r\n<message>..."
+
2001-03-27 Not Zed <NotZed@Ximian.com>
* camel-folder-summary.c (camel_folder_summary_finalize): Unref
diff --git a/camel/Makefile.am b/camel/Makefile.am
index 67f65f33e6..decc13d3c1 100644
--- a/camel/Makefile.am
+++ b/camel/Makefile.am
@@ -1,6 +1,6 @@
## Process this file with automake to produce Makefile.in
-SUBDIRS = providers tests
+SUBDIRS = providers #tests
libcamelincludedir = $(includedir)/camel
providerdir = $(libdir)/evolution/camel-providers/$(VERSION)
diff --git a/camel/providers/pop3/camel-pop3-folder.c b/camel/providers/pop3/camel-pop3-folder.c
index 7478470a5d..3b1366ba27 100644
--- a/camel/providers/pop3/camel-pop3-folder.c
+++ b/camel/providers/pop3/camel-pop3-folder.c
@@ -206,8 +206,7 @@ pop3_sync (CamelFolder *folder, gboolean expunge, CamelException *ex)
CamelPop3Folder *pop3_folder;
CamelPop3Store *pop3_store;
int i, status;
- char *resp;
-
+
if (!expunge)
return;
@@ -216,7 +215,7 @@ pop3_sync (CamelFolder *folder, gboolean expunge, CamelException *ex)
for (i = 0; i < pop3_folder->uids->len; i++) {
if (pop3_folder->flags[i] & CAMEL_MESSAGE_DELETED) {
- status = camel_pop3_command (pop3_store, &resp, ex,
+ status = camel_pop3_command (pop3_store, NULL, ex,
"DELE %d", i + 1);
if (status != CAMEL_POP3_OK)
return;
@@ -297,7 +296,7 @@ pop3_get_message (CamelFolder *folder, const char *uid, CamelException *ex)
}
/* this should be "nnn octets" ? */
- if (sscanf(result, "%d", &total) != 1)
+ if (result && sscanf (result, "%d", &total) != 1)
total = 0;
g_free (result);
rts/plain/devel/avra/?id=276c3a29ae75c711f2a994bae9b42b763f7e7d7a'>avra
  • avrdude
  • bcc
  • bcpp
  • beagle
  • bglibs
  • bicyclerepair
  • bin86
  • bison-devel
  • bison
  • bison175
  • bison1875
  • bison2
  • bison20
  • bitkeeper
  • bnf
  • boaconstructor
  • boehm-gc
  • bonobo-conf
  • bonobo
  • boost-python
  • boost
  • bouml
  • bug-buddy
  • bugbuddy
  • bugzilla
  • bugzilla2
  • bugzilla3
  • buildtool-doc
  • buildtool
  • byaccj
  • c2lib
  • c2man
  • c2mdoc
  • c4
  • c_c++_reference
  • c_parser
  • calibrator
  • callgrind
  • cbrowser
  • cc65
  • ccache
  • cccc
  • ccdoc
  • ccmalloc
  • cdecl
  • cdialog
  • cdk
  • cdoc
  • cedet-emacs20
  • cedet
  • cflow
  • cflow2vcg
  • cgilib
  • cgprof
  • chora
  • cil
  • cl-asdf-clisp
  • cl-asdf-cmucl
  • cl-asdf-sbcl
  • cl-asdf
  • cl-port-clisp
  • cl-port-sbcl
  • cl-port
  • cl-split-sequence-clisp
  • cl-split-sequence-cmucl
  • cl-split-sequence-sbcl
  • cl-split-sequence
  • cl-uffi-cmucl
  • cl-uffi-sbcl
  • cl-uffi
  • clanlib-devel
  • clanlib
  • clig
  • clint
  • clisp-hyperspec
  • cmake
  • cocktail
  • codecrusader
  • codeville
  • codeworker
  • cogito
  • colorer
  • commoncpp
  • cons-test
  • cons
  • cook
  • cpan-upload
  • cppadvio
  • cppunit
  • cproto
  • crossgo32-djgpp2-pdcurses
  • crossgo32-djgpp2
  • crossgo32
  • cscope
  • cscout-devel
  • cscout
  • cssc
  • cstringbuffer
  • ctags
  • cut
  • cutils
  • cvs+ipv6
  • cvs-devel
  • cvs2cl
  • cvs2html
  • cvs2p4
  • cvs2svn
  • cvsadmin
  • cvsbook
  • cvschk
  • cvsd
  • cvsdelta
  • cvsdiff2patch
  • cvsgraph
  • cvslines
  • cvsmapfs
  • cvsmonitor
  • cvsnt
  • cvspadm
  • cvsplot
  • cvsps-devel
  • cvsps
  • cvsstat
  • cvstrac
  • cvsutils
  • cvsweb
  • cvsweb3
  • cvswrap
  • cweb
  • cxmon
  • cxref
  • cxxtest
  • darcs
  • darts
  • datadesigner
  • dbus-sharp
  • dbus
  • ddd
  • decompyle
  • desktop-file-utils
  • devhelp
  • devtodo
  • dia2code
  • dialyzer
  • diffconvert
  • directfb
  • distcc
  • distel
  • dits
  • dmake
  • dmalloc
  • doc++
  • doctorj
  • dotconf++
  • dotconf
  • doxygen
  • dparser
  • dprog
  • dumb
  • dwarfdump
  • e4graph
  • ebnf2yacc
  • eboxy
  • ecb-emacs20
  • ecb
  • ecgi
  • ecos-tools
  • eet
  • eieio-emacs20
  • eieio
  • elf
  • elfio
  • elfsh
  • elftoaout
  • elib-emacs19
  • elib-emacs20
  • elib
  • entity
  • epm
  • epydoc
  • eric
  • eris
  • erlslang
  • error
  • esdl
  • esvn
  • excalibur-configuration
  • f77flow
  • fam
  • fampp
  • fastcrc
  • fastdep
  • fc++
  • ffcall
  • fhist
  • fib
  • flick
  • florist
  • flowdesigner
  • flyspray
  • fnccheck
  • fnorb
  • fortran-utils
  • fpc-fv
  • fpc-fvision
  • fpc-gdb
  • fpc-gdbint
  • fpc-regexpr
  • fpp
  • freebase
  • freelibiberty
  • freeride
  • freescope
  • frink
  • fsmgenerator
  • ftnchek
  • funnelweb
  • g-wrap
  • g2c
  • gaa
  • gamin
  • gaphor
  • gauche-gaunit
  • gauche-readline
  • gauche-sdl
  • gaul
  • gccxml
  • gconf
  • gconf2
  • gconfmm
  • gconfmm26
  • gcvs
  • gdb53-act
  • gdb53
  • gdb6
  • gdb66
  • gdbmods
  • gengameng
  • gengetopt
  • genproto
  • gettext-lint
  • gettext
  • getxml
  • gindent
  • glade2
  • glademm
  • glib12
  • glib20
  • glibmm
  • global
  • glrparser
  • glui
  • gmake
  • gmake381
  • gnome-build
  • gnome-common
  • gnome-crash
  • gnome-vfs
  • gnome-vfs1
  • gnome-vfsmm
  • gnome2-hacker-tools
  • gnomebuild
  • gnomecommon
  • gnomecrash
  • gnomevfs
  • gnomevfs2
  • gnu-autoconf
  • gnu-automake
  • gnu-libtool
  • gnulibiberty
  • gnustep-make
  • gnustep
  • gob2
  • gonzui
  • google-sparsehash
  • gorm
  • gperf
  • gputils
  • gsoap
  • gstreamer-plugins-gconf
  • gstreamer-plugins-gconf80
  • gstreamer-plugins-gnomevfs
  • gstreamer-plugins-gnomevfs80
  • gstreamer-plugins-sdl
  • gstreamer-plugins-sdl80
  • gtgt
  • gtranslator
  • guikachu
  • gvd
  • gwenhywfar
  • happydoc
  • hapy
  • horde-chora
  • hptools
  • hs-alex
  • hs-buddha
  • hs-c2hs
  • hs-cpphs
  • hs-crypto
  • hs-darcs
  • hs-drift
  • hs-green-card
  • hs-haddock
  • hs-happy
  • hs-hat
  • hs-hdoc
  • hs-hmake
  • hs-hpl
  • hs-idoc
  • hs-popenhs
  • hs-tclhaskell-ghc
  • hs-uni
  • hypersrc
  • i386-rtems-binutils
  • i386-rtems-g77
  • i386-rtems-gcc
  • i386-rtems-gdb
  • i386-rtems-objc
  • i960-rtems-binutils
  • i960-rtems-gcc
  • i960-rtems-gdb
  • ice
  • icu
  • icu2
  • icu4
  • id-utils
  • idutils
  • ifd-test
  • imake-4
  • imake-6
  • inilib
  • initutil
  • invitation_to_ruby
  • ipython
  • ireport
  • itext
  • ixlib
  • jakelib2
  • jam
  • java-util-concurrent
  • jclassinfo
  • jcmdline
  • jep
  • jrtplib
  • jsap
  • jude-community
  • judy
  • kaptain
  • kcachegrind
  • kdbg
  • kdesdk3
  • kdesdk4
  • kdevelop
  • kimwitu++
  • kimwitu
  • klassmodeler
  • kodos
  • korelib
  • kprof
  • kscope
  • kxl
  • kyra
  • lbpp
  • leaktracer
  • lemon
  • leoarg
  • libIDL
  • libPropList
  • libU77
  • libafterbase
  • libassa
  • libassetml
  • libast
  • libavl
  • libbfd
  • libbinio
  • libbnr
  • libbonobo
  • libbonobomm
  • libcapsinetwork
  • libccid
  • libcheck
  • libchipcard-kde
  • libchipcard
  • libcii
  • libconfuse
  • libcoro
  • libcwd